public class CmsPublishResourceInfo extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Modifier and Type | Class and Description |
---|---|
static class |
CmsPublishResourceInfo.Type
Reason value constants, when resources can not be published.
|
Modifier | Constructor and Description |
---|---|
protected |
CmsPublishResourceInfo()
For serialization.
|
|
CmsPublishResourceInfo(java.lang.String value,
CmsPublishResourceInfo.Type type)
Creates a new publish resource additional information bean.
|
|
CmsPublishResourceInfo(java.lang.String value,
CmsPublishResourceInfo.Type type,
boolean hidden)
Creates a new publish resource additional information bean.
|
Modifier and Type | Method and Description |
---|---|
CmsPublishResourceInfo.Type |
getType()
Returns the type.
|
java.lang.String |
getValue()
Returns the value.
|
boolean |
hasProblemType()
Returns if there is a problem type set.
|
boolean |
isHidden()
Returns true if the publish resource should be hidden.
|
public CmsPublishResourceInfo(java.lang.String value, CmsPublishResourceInfo.Type type)
value
- the additional infotype
- the additional info typepublic CmsPublishResourceInfo(java.lang.String value, CmsPublishResourceInfo.Type type, boolean hidden)
value
- the additional infotype
- the additional info typehidden
- flag to hide the publish resourceprotected CmsPublishResourceInfo()
public CmsPublishResourceInfo.Type getType()
public java.lang.String getValue()
public boolean hasProblemType()
true
if the problem type is setpublic boolean isHidden()