com.sap.scheduler.api
Class SchedulerTaskID
java.lang.Object
com.sap.scheduler.runtime.AbstractIdentifier
com.sap.scheduler.api.SchedulerTaskID
- All Implemented Interfaces:
- Serializable, Cloneable
public class SchedulerTaskID
- extends AbstractIdentifier
- See Also:
- Serialized Form
|
Method Summary |
static SchedulerTaskID |
newID()
Creates a new SchedulerTaskID instance that represent a new guid. |
static SchedulerTaskID |
parseID(byte[] byteGUID)
Reconstructs a SchedulerTaskID instance from a byte[] representation of a guid. |
static SchedulerTaskID |
parseID(String stringGUID)
Reconstructs a SchedulerTaskID instance from a string representation. |
newID
public static SchedulerTaskID newID()
- Creates a new
SchedulerTaskID instance that represent a new guid.
- Returns:
- a new
SchedulerTaskID instance - See Also:
GUID
parseID
public static SchedulerTaskID parseID(String stringGUID)
throws IllegalArgumentException
- Reconstructs a
SchedulerTaskID instance from a string representation. The supplied a
String must be in a valid GUID hex-string format.
- Parameters:
stringGUID - - a hex representation of a GUID. If this paramter is null then this
method returns null.
- Returns:
- a
SchedulerTaskID holding the identity specified by the given string representation
of GUID. Null if stringGUID is null.
- Throws:
IllegalArgumentException - - if the string is not a valid hex-string representation of a
GUID.- See Also:
GUID.toHexString()
parseID
public static SchedulerTaskID parseID(byte[] byteGUID)
throws IllegalArgumentException
- Reconstructs a
SchedulerTaskID instance from a byte[] representation of a guid. The
supplied byte[] must be in a valid GUID format.
- Parameters:
byteGUID - - a byte[] representation of a guid. If this parameter is null then this
method returns null.
- Returns:
- a
SchedulerTaskID holding the identity specified by the given byte array representation
of a GUID. Null if byteGUID is null.
- Throws:
IllegalArgumentException - - thrown if the byteGUID argument is not a valid
GUID byte representation- See Also:
GUID.toBytes()
This class can be accessed from:
|
SC
|
DC
|
[sap.com] ENGFACADE
|
[sap.com] tc/je/scheduler/api
|
Copyright 2010 SAP AG Complete Copyright Notice