org.rhq.core.domain.operation
Class HistoryJobId

java.lang.Object
  extended by org.rhq.core.domain.operation.JobId
      extended by org.rhq.core.domain.operation.HistoryJobId
All Implemented Interfaces:
Serializable

public class HistoryJobId
extends JobId

Simple object that encapsulates the individual pieces of data that make up an individual invocation of an operation job ID.

See Also:
Serialized Form

Constructor Summary
  HistoryJobId(String jobIdString)
           
protected HistoryJobId(String[] jobIdParts)
           
  HistoryJobId(String jobName, String jobGroup, long createdTime)
           
 
Method Summary
 long getCreatedTime()
           
 String toString()
          Returns the single string that contains the unique job ID which identifies a particular invocation of a particular job.
 
Methods inherited from class org.rhq.core.domain.operation.JobId
equals, getJobGroup, getJobName, hashCode, joinPartsIntoJobIdString, setJobGroup, setJobName, splitJobIdStringIntoParts
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HistoryJobId

public HistoryJobId(String jobName,
                    String jobGroup,
                    long createdTime)

HistoryJobId

public HistoryJobId(String jobIdString)

HistoryJobId

protected HistoryJobId(String[] jobIdParts)
Method Detail

getCreatedTime

public long getCreatedTime()

toString

public String toString()
Returns the single string that contains the unique job ID which identifies a particular invocation of a particular job. This string is used to determine this object's hash code and for equality checks. Note that HistoryJobId objects are only ever equal to other HistoryJobId objects (they are never equal to concrete instances of JobId).

Overrides:
toString in class JobId
See Also:
Object.toString()


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.