Package com.adobe.cq.launches.api
Class LaunchResourceStatus
- java.lang.Object
-
- com.adobe.cq.launches.api.LaunchResourceStatus
-
public final class LaunchResourceStatus extends java.lang.Object
Launch status compared to production.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LaunchResourceStatus.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 boolean
equals(java.lang.Object o)
Overridden to alter the preconditions when two launch statuses are considered equal.java.util.Date
getLaunchModificationDate()
java.lang.String
getLaunchUserId()
java.util.Date
getProductionModificationDate()
java.lang.String
getProductionUserId()
java.lang.String
getResourcePath()
java.lang.String
getTitle()
LaunchResourceStatus.LaunchStatusType
getType()
int
hashCode()
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:
equals
in classjava.lang.Object
- Parameters:
o
- object to compare this object against- Returns:
true
if 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:
hashCode
in classjava.lang.Object
- Returns:
- a hash code value for this object.
- See Also:
Object.equals(java.lang.Object)
,Hashtable
-
-