public class Job extends Object implements Serializable
| Constructor and Description |
|---|
Job()
No-arg contructor
|
Job(Job origJob)
Cloning constructor.
|
Job(String className,
List<?> args)
A convenience constructor.
|
Job(String className,
Object... args)
Create a new Job with the given class name and arguments.
|
public Job()
public Job(Job origJob)
origJob - the Job to start fromIllegalArgumentException - if the origJob is nullpublic Job(String className, List<?> args)
className - the class name of the Jobargs - the arguments for the Jobpublic String getClassName()
public void setClassName(String className)
className - the new class namepublic Object[] getArgs()
public void setArgs(Object[] args)
args - the new agrumentspublic boolean isValid()
Copyright © 2011-2013. All Rights Reserved.