com.adobe.idp.jobmanager.common
Class JobId

java.lang.Object
  extended by com.adobe.idp.jobmanager.common.JobId
All Implemented Interfaces:
java.io.Serializable

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

This class represents the identifier of a specific job. You can, for example, use an object of this type to determine the status of a long-lived process. For information about invoking a long-lived process, see Invoking Adobe Experience Manager forms.

See Also:
Serialized Form

Field Summary
static java.lang.String TRANSIENT_JOB_ID
           
 
Constructor Summary
JobId()
           
JobId(java.lang.String jobId)
          A constructor that creates a JobId object.
JobId(java.lang.String jobId, boolean persistent)
          A constructor that creates a JobId object.
 
Method Summary
 java.lang.String getId()
          Returns the identifier value associated with this object.
 boolean getPersistent()
           
 boolean isPersistent()
          Specifies whether this object is persisted within Adobe Experience Manager forms.
 void setId(java.lang.String jobId)
           
 void setPersistent(boolean persistent)
           
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRANSIENT_JOB_ID

public static final java.lang.String TRANSIENT_JOB_ID
See Also:
Constant Field Values
Constructor Detail

JobId

public JobId()

JobId

public JobId(java.lang.String jobId,
             boolean persistent)
A constructor that creates a JobId object.

Parameters:
jobId - A string value that represents the job identifier value.
persistent - A Boolean value where the value false results in the job instance not being persisted.

JobId

public JobId(java.lang.String jobId)
A constructor that creates a JobId object.

Parameters:
jobId - A string value that represents the job identifier value.
Method Detail

getId

public java.lang.String getId()
Returns the identifier value associated with this object.

Returns:
A string value that specifies the identifier value.

setId

public void setId(java.lang.String jobId)

isPersistent

public boolean isPersistent()
Specifies whether this object is persisted within Adobe Experience Manager forms.

Returns:
A Boolean value where the value false means the job instance is not persisted.

getPersistent

public boolean getPersistent()

setPersistent

public void setPersistent(boolean persistent)

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.