jet.server.api.crd
Class CRDRunDetail

java.lang.Object
  extended by jet.server.api.crd.CRDRunDetail
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Field Summary
static short ACTIVITY_BUILD
          indicates the activity type of this cube run detail: build (value=1).
static short ACTIVITY_UPDATE
          indicates the activity type of this cube run detail: build (value=2).
 
Constructor Summary
CRDRunDetail(CRDInfoKey crdKey, short activityType, long start, long end, boolean success)
           
 
Method Summary
 short getActivityType()
          get activity type of this cube run detail.
 CRDInfoKey getCRDInfoKey()
          get cube key of this cube run detail
 long getEndTime()
          get end time of this cube run.
 long getStartTime()
          get start time of this cube run.
 boolean isSuccess()
          get the activity is successful or not.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTIVITY_BUILD

public static final short ACTIVITY_BUILD
indicates the activity type of this cube run detail: build (value=1).

See Also:
Constant Field Values

ACTIVITY_UPDATE

public static final short ACTIVITY_UPDATE
indicates the activity type of this cube run detail: build (value=2).

See Also:
Constant Field Values
Constructor Detail

CRDRunDetail

public CRDRunDetail(CRDInfoKey crdKey,
                    short activityType,
                    long start,
                    long end,
                    boolean success)
Method Detail

getCRDInfoKey

public CRDInfoKey getCRDInfoKey()
get cube key of this cube run detail

Returns:
cube key

getActivityType

public short getActivityType()
get activity type of this cube run detail.

Returns:
activity type of this cube run detail. return value may be ACTIVITY_BUILD or ACTIVITY_UPDATE.

getStartTime

public long getStartTime()
get start time of this cube run.

Returns:
cube run start time.

getEndTime

public long getEndTime()
get end time of this cube run.

Returns:
cube run end time.

isSuccess

public boolean isSuccess()
get the activity is successful or not.

Returns:
activity is successful or not. true means success.