Class CmsProjectResourcesDisplayMode
- java.lang.Object
-
- org.opencms.workplace.tools.projects.CmsProjectResourcesDisplayMode
-
- All Implemented Interfaces:
java.io.Serializable
public final class CmsProjectResourcesDisplayMode extends java.lang.Object implements java.io.Serializable
Wrapper class for the different types of project files view.The possibles values are:
- Since:
- 6.0.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static CmsProjectResourcesDisplayMode
ALL_CHANGES
Constant for the all changes view.static CmsProjectResourcesDisplayMode
DELETED_FILES
Constant for the deleted files only view.static CmsProjectResourcesDisplayMode
MODIFIED_FILES
Constant for the modified files only view.static CmsProjectResourcesDisplayMode
NEW_FILES
Constant for the new files only view.static java.util.List
VALUES
List of mode constants.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMode()
Returns the mode string.java.lang.String
toString()
static CmsProjectResourcesDisplayMode
valueOf(java.lang.String value)
Parses an string into an element of this enumeration.
-
-
-
Field Detail
-
ALL_CHANGES
public static final CmsProjectResourcesDisplayMode ALL_CHANGES
Constant for the all changes view.
-
DELETED_FILES
public static final CmsProjectResourcesDisplayMode DELETED_FILES
Constant for the deleted files only view.
-
MODIFIED_FILES
public static final CmsProjectResourcesDisplayMode MODIFIED_FILES
Constant for the modified files only view.
-
NEW_FILES
public static final CmsProjectResourcesDisplayMode NEW_FILES
Constant for the new files only view.
-
VALUES
public static final java.util.List VALUES
List of mode constants.
-
-
Method Detail
-
valueOf
public static CmsProjectResourcesDisplayMode valueOf(java.lang.String value) throws org.opencms.main.CmsIllegalArgumentException
Parses an string into an element of this enumeration.- Parameters:
value
- the mode to parse- Returns:
- the enumeration element
- Throws:
org.opencms.main.CmsIllegalArgumentException
- if the given value could not be matched against aCmsListColumnAlignEnum
type.
-
getMode
public java.lang.String getMode()
Returns the mode string.- Returns:
- the mode string
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-