Enum Repository.Layout
- java.lang.Object
-
- java.lang.Enum<Repository.Layout>
-
- org.eclipse.tycho.plugins.p2.extras.Repository.Layout
-
- All Implemented Interfaces:
Serializable
,Comparable<Repository.Layout>
- Enclosing class:
- Repository
public static enum Repository.Layout extends Enum<Repository.Layout>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasArtifacts()
boolean
hasMetadata()
String
toString()
static Repository.Layout
valueOf(String name)
Returns the enum constant of this type with the specified name.static Repository.Layout[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOTH
public static final Repository.Layout BOTH
-
METADATA
public static final Repository.Layout METADATA
-
ARTIFACTS
public static final Repository.Layout ARTIFACTS
-
-
Method Detail
-
values
public static Repository.Layout[] 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 (Repository.Layout c : Repository.Layout.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Repository.Layout valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
hasMetadata
public boolean hasMetadata()
-
hasArtifacts
public boolean hasArtifacts()
-
toString
public String toString()
- Overrides:
toString
in classEnum<Repository.Layout>
-
-