Enum CatalogVersionModelMother.CatalogVersion
- java.lang.Object
-
- java.lang.Enum<CatalogVersionModelMother.CatalogVersion>
-
- de.hybris.platform.cmsfacades.util.models.CatalogVersionModelMother.CatalogVersion
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CatalogVersionModelMother.CatalogVersion>
- Enclosing class:
- CatalogVersionModelMother
public static enum CatalogVersionModelMother.CatalogVersion extends java.lang.Enum<CatalogVersionModelMother.CatalogVersion>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetVersion()static CatalogVersionModelMother.CatalogVersionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CatalogVersionModelMother.CatalogVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ONLINE
public static final CatalogVersionModelMother.CatalogVersion ONLINE
-
STAGED
public static final CatalogVersionModelMother.CatalogVersion STAGED
-
STAGED1
public static final CatalogVersionModelMother.CatalogVersion STAGED1
-
STAGED2
public static final CatalogVersionModelMother.CatalogVersion STAGED2
-
-
Method Detail
-
values
public static CatalogVersionModelMother.CatalogVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CatalogVersionModelMother.CatalogVersion c : CatalogVersionModelMother.CatalogVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CatalogVersionModelMother.CatalogVersion valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getVersion
public java.lang.String getVersion()
-
-