com.novell.emframe.dev
Class JobData

java.lang.Object
  extended bycom.novell.emframe.dev.JobData
All Implemented Interfaces:
java.io.Serializable

public class JobData
extends java.lang.Object
implements java.io.Serializable

Allows tasks who are part of a job to get and set data objects that are specific to the job.

See Also:
Serialized Form

Constructor Summary
JobData()
           
 
Method Summary
 java.lang.Object get(java.lang.Object key)
          Returns a value of a specified key that is specific to this job.
static JobData getJobData(com.novell.nps.gadgetManager.GadgetInstance gadget)
          Static method to get a JobData object based upon the task.
 java.lang.String[] getObjectNames()
          Returns a list of object names this job is being performed on.
 void put(java.lang.Object key, java.lang.Object value)
          Sets a value of a specified key that is specific to this job.
 void setObjectNames(java.lang.String[] names)
          Sets the list of object names this job is being performed on.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobData

public JobData()
Method Detail

get

public java.lang.Object get(java.lang.Object key)
Returns a value of a specified key that is specific to this job.

Parameters:
key - Object containing the key
Returns:
Object containing the value of key
See Also:
put(java.lang.Object, java.lang.Object)

getJobData

public static JobData getJobData(com.novell.nps.gadgetManager.GadgetInstance gadget)
Static method to get a JobData object based upon the task.

Parameters:
gadget - GadgetInstance specifying the task to get the JobData for
Returns:
JobData object containing job specific configuration

getObjectNames

public java.lang.String[] getObjectNames()
Returns a list of object names this job is being performed on.

Returns:
String array containing object names
See Also:
setObjectNames(java.lang.String[])

put

public void put(java.lang.Object key,
                java.lang.Object value)
Sets a value of a specified key that is specific to this job.

Parameters:
key - Object containing the key
value - Object containing the value of key
See Also:
get(java.lang.Object)

setObjectNames

public void setObjectNames(java.lang.String[] names)
Sets the list of object names this job is being performed on.

Parameters:
names - String array containing object names
See Also:
getObjectNames()


API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.