-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Max Langensiepen
committed
May 19, 2013
1 parent
fde4cda
commit 8edab40
Showing
2 changed files
with
30 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,13 @@ | ||
package Scheduler; | ||
|
||
/** | ||
* <p>Title: MattJobCreator</p> | ||
* <p>Description: </p> | ||
* <p>Copyright: Copyright (c) 2004</p> | ||
* <p>Company: </p> | ||
* @author Matt Evett | ||
* @version 1.0 | ||
*/ | ||
|
||
class MattJobCreator extends JobCreator { | ||
public MattJobCreator(SystemSimulator s) { | ||
super(s); | ||
} | ||
|
||
public Job createJob(String description, SystemSimulator s, String name) { | ||
// Return a Job or subtype of Job for eventual execution. | ||
System.out.println("Creating a new job at time "+System.currentTimeMillis()); | ||
System.out.println("Creating a new job at time " + System.currentTimeMillis()); | ||
return new MattJob(description, mySystem, name); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters