Package com.adobe.cq.launches.api
Class LaunchResourceStatus
- java.lang.Object
-
- com.adobe.cq.launches.api.LaunchResourceStatus
-
public final class LaunchResourceStatus extends java.lang.ObjectLaunch status compared to production.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLaunchResourceStatus.LaunchStatusType
-
Constructor Summary
Constructors Constructor Description LaunchResourceStatus(LaunchResourceStatus.LaunchStatusType type, java.lang.String path, java.lang.String title, java.util.Calendar launchLastModif, java.util.Calendar prodLastModif, java.lang.String launchUserId, java.lang.String productionUserId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Overridden to alter the preconditions when two launch statuses are considered equal.java.util.DategetLaunchModificationDate()java.lang.StringgetLaunchUserId()java.util.DategetProductionModificationDate()java.lang.StringgetProductionUserId()java.lang.StringgetResourcePath()java.lang.StringgetTitle()LaunchResourceStatus.LaunchStatusTypegetType()inthashCode()Returns a hash code value for the object.
-
-
-
Constructor Detail
-
LaunchResourceStatus
public LaunchResourceStatus(LaunchResourceStatus.LaunchStatusType type, java.lang.String path, java.lang.String title, java.util.Calendar launchLastModif, java.util.Calendar prodLastModif, java.lang.String launchUserId, java.lang.String productionUserId)
-
-
Method Detail
-
getType
public LaunchResourceStatus.LaunchStatusType getType()
-
getResourcePath
public java.lang.String getResourcePath()
-
getTitle
public java.lang.String getTitle()
-
getLaunchModificationDate
public java.util.Date getLaunchModificationDate()
-
getProductionModificationDate
public java.util.Date getProductionModificationDate()
-
getLaunchUserId
public java.lang.String getLaunchUserId()
-
getProductionUserId
public java.lang.String getProductionUserId()
-
equals
public final boolean equals(java.lang.Object o)
Overridden to alter the preconditions when two launch statuses are considered equal.- Overrides:
equalsin classjava.lang.Object- Parameters:
o- object to compare this object against- Returns:
trueif this object is considered equal to the other object, otherwisefalse
-
hashCode
public int hashCode()
Returns a hash code value for the object. Replaced in order to return the same hashcode for two objects that are considered equal according to theequals(java.lang.Object)method implemented above.- Overrides:
hashCodein classjava.lang.Object- Returns:
- a hash code value for this object.
- See Also:
Object.equals(java.lang.Object),Hashtable
-
-