Modifier and Type | Method and Description |
---|---|
int |
compareTo(Launch launch)
Compares the current launch with another one for sorting.
|
boolean |
containsResource(Resource productionResource)
Returns
true if the launch contains the provided production
resource |
java.util.Calendar |
getCreated()
This method returns the date and time this launch was created
|
java.lang.String |
getCreatedBy()
Returns the id of the user that added this launch
|
java.util.Calendar |
getLastPromoted()
Returns the date the launch was last promoted
|
java.lang.String |
getLastPromotedBy()
Returns the id of the user that effected the last promotion of this
launch
|
LaunchPromotionScope |
getLaunchAutoPromotionScope()
Returns the
LaunchPromotionScope of the launch |
java.util.List<LaunchSource> |
getLaunchSources()
Returns the list of Launch Sources (in the launch tree)
|
java.util.Calendar |
getLiveDate()
Returns the targeted live date for the launch
|
java.util.Calendar |
getModified()
Returns the date the definition of this launch was last modified
|
java.lang.String |
getModifiedBy()
Returns the id of the user that effected the last modification of this
launch
|
Resource |
getResource()
Returns the launch resource
|
Resource |
getRootResource()
Returns the launch root resource (in the launch tree)
|
Resource |
getSourceRootResource()
Deprecated.
|
java.lang.String |
getTitle()
Returns the title of the Launch
|
boolean |
isDeep()
Deprecated.
|
boolean |
isLiveCopy()
Returns
true if the current Launch is a live
copy |
boolean |
isProductionReady()
Returns
true if the current Launch is
production ready
If a target live date is set and this flag is set to true ,
the launch will automatically be promoted and activated at this date |
Resource getResource()
Resource getRootResource()
java.util.List<LaunchSource> getLaunchSources()
@Deprecated Resource getSourceRootResource()
java.lang.String getTitle()
java.util.Calendar getLiveDate()
boolean isProductionReady()
true
if the current Launch
is
production ready
If a target live date is set and this flag is set to true
,
the launch will automatically be promoted and activated at this datetrue
if the launch is production readyboolean isLiveCopy()
true
if the current Launch
is a live
copytrue
if the launch is a live copy@Deprecated boolean isDeep()
true
if the current Launch
has been
created with inclusion of sub pagestrue
if the launch is deepjava.util.Calendar getCreated()
Calendar
representing the creation date and timejava.lang.String getCreatedBy()
java.util.Calendar getModified()
getCreated()
if never modified.java.lang.String getModifiedBy()
getCreatedBy()
if never modifiedjava.util.Calendar getLastPromoted()
null
if never
promoted.java.lang.String getLastPromotedBy()
null
if never promotedboolean containsResource(Resource productionResource)
true
if the launch contains the provided production
resourceproductionResource
- Production resourcetrue
if the launch contains the provided production
resourceint compareTo(Launch launch)
compareTo
in interface java.lang.Comparable<Launch>
launch
- The launch which has to be compared with the current oneComparable.compareTo(Object)
LaunchPromotionScope getLaunchAutoPromotionScope()
LaunchPromotionScope
of the launchLaunchPromotionScope
of the launch if exists. Otherwise null is returned.Copyright © 2010 - 2020 Adobe. All Rights Reserved