public class DefaultSandboxInfoCache extends DefaultSandbox implements SandboxInfoCache
| Constructor and Description |
|---|
DefaultSandboxInfoCache(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
Sandbox |
asSandbox()
Returns this object as a
Sandbox object. |
SandboxConstraints |
getConstraints()
Returns the constraints associated with this sandbox if any.
|
java.lang.String |
getCreatedBy()
Returns the user who creates this sandbox.
|
java.util.Date |
getCreationDate()
Gets the date when this sandbox was created.
|
java.lang.String |
getDescription()
Gets the description of this sandbox.
|
java.util.Date |
getPublishDate()
Returns the date when the changes in this sandbox were permanently merged
into the repositories.
|
java.lang.String |
getPublishedBy()
Gets the name of the user that published this sandbox.
|
java.util.Date |
getRefreshDate()
Returns the last date when the changes made in mainline were merged into
this sandbox.
|
java.lang.String |
getRefreshedBy()
Returns the user who merged the changes made in mainline into this sandbox
by refreshing the sandbox
|
SandboxState |
getState()
Gets the state of this sandbox.
|
java.util.Date |
getUpdateDate()
Gets the date when this sandbox was last updated.
|
java.lang.String |
getUpdatedBy()
Returns the user who last updated this sandbox.
|
boolean |
isPrivate()
Returns
true if this sandbox is private. |
boolean |
isPublishable()
Returns
true if this sandbox is publishable. |
boolean |
isRefreshNeeded()
Returns
true if any participating repository needs to be
refreshed. |
boolean |
isRefreshRequired()
Returns
true if this sandbox requires refresh. |
boolean |
isVisualBuilderEnabled()
Returns
true if Visual Builder feature is enabled in this
sandbox and at least one associated repository used by the
feature reports changes. |
getConstraintsSummary, getId, getName, getOperationLog, getRepositoryBaseline, getRepositoryBranchDate, getRepositoryBranchId, getRepositoryRefreshDate, getRepositoryState, hasConflict, isAdministrator, isArchive, isFeatureEnabled, isRepositoryBranched, toStringaddListener, fireRepositoryChanged, getBranchId, getListeners, getUserSandbox, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetId, getName, isArchivepublic Sandbox asSandbox()
SandboxInfoCacheSandbox object.asSandbox in interface SandboxInfoCacheSandbox objectpublic java.lang.String getDescription()
SandboxgetDescription in interface SandboxInfoCachegetDescription in class DefaultSandboxpublic SandboxState getState()
SandboxgetState in interface SandboxInfoCachegetState in class DefaultSandboxpublic java.util.Date getCreationDate()
SandboxgetCreationDate in interface SandboxInfoCachegetCreationDate in class DefaultSandboxpublic java.lang.String getCreatedBy()
SandboxgetCreatedBy in interface SandboxInfoCachegetCreatedBy in class DefaultSandboxpublic java.util.Date getUpdateDate()
SandboxgetUpdateDate in interface SandboxInfoCachegetUpdateDate in class DefaultSandboxpublic java.lang.String getUpdatedBy()
SandboxgetUpdatedBy in interface SandboxInfoCachegetUpdatedBy in class DefaultSandboxpublic java.util.Date getRefreshDate()
SandboxgetRefreshDate in interface SandboxInfoCachegetRefreshDate in class DefaultSandboxnull if this sandbox has never been
updated since creationpublic java.lang.String getRefreshedBy()
SandboxgetRefreshedBy in interface SandboxInfoCachegetRefreshedBy in class DefaultSandboxnull if this sandbox has never been
refreshed since creationpublic java.util.Date getPublishDate()
SandboxgetPublishDate in interface SandboxInfoCachegetPublishDate in class DefaultSandboxnull if this sandbox is still activepublic java.lang.String getPublishedBy()
SandboxgetPublishedBy in interface SandboxInfoCachegetPublishedBy in class DefaultSandboxpublic SandboxConstraints getConstraints()
SandboxgetConstraints in interface SandboxInfoCachegetConstraints in class DefaultSandboxnull if
this sandbox does not have any constraintspublic boolean isPrivate()
Sandboxtrue if this sandbox is private. A private sandbox
can only be accessed by its owner.isPrivate in interface SandboxInfoCacheisPrivate in class DefaultSandboxtrue if this sandbox is privatepublic boolean isPublishable()
Sandboxtrue if this sandbox is publishable. If a sandbox is
not publishable, it cannot be published.isPublishable in interface SandboxInfoCacheisPublishable in class DefaultSandboxtrue if this sandbox is publishablepublic boolean isRefreshRequired()
Sandboxtrue if this sandbox requires refresh. If a sandbox
requires refresh, it should not be used. Usually a refresh is required when
mainline is patched and sandbox should be refreshed before it is be used.isRefreshRequired in interface SandboxInfoCacheisRefreshRequired in class DefaultSandboxtrue if this sandbox requies refreshpublic boolean isRefreshNeeded()
Sandboxtrue if any participating repository needs to be
refreshed.isRefreshNeeded in interface SandboxInfoCacheisRefreshNeeded in class DefaultSandboxtrue if any participating repository needs to be
refreshedpublic boolean isVisualBuilderEnabled()
Sandboxtrue if Visual Builder feature is enabled in this
sandbox and at least one associated repository used by the
feature reports changes.isVisualBuilderEnabled in interface SandboxInfoCacheisVisualBuilderEnabled in class DefaultSandboxtrue if Visual Builder feature is enabled in this
sandbox and at least one associated repository used by the
eature reports changesAssociatedRepository,
RepositoryAssociation