Package aQute.bnd.build
Enum Workspace.ResourceRepositoryStrategy
- java.lang.Object
-
- java.lang.Enum<Workspace.ResourceRepositoryStrategy>
-
- aQute.bnd.build.Workspace.ResourceRepositoryStrategy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Workspace.ResourceRepositoryStrategy>
- Enclosing class:
- Workspace
public static enum Workspace.ResourceRepositoryStrategy extends java.lang.Enum<Workspace.ResourceRepositoryStrategy>
Strategy to use when creating a workspace ResourceRepository.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Workspace.ResourceRepositoryStrategy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Workspace.ResourceRepositoryStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final Workspace.ResourceRepositoryStrategy ALL
All Repository plugins and the Workspace repository.This is the default strategy.
-
REPOS
public static final Workspace.ResourceRepositoryStrategy REPOS
All Repository plugins but not the Workspace repository.
-
WORKSPACE
public static final Workspace.ResourceRepositoryStrategy WORKSPACE
The Workspace repository but no Repository plugins.
-
-
Method Detail
-
values
public static Workspace.ResourceRepositoryStrategy[] 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 (Workspace.ResourceRepositoryStrategy c : Workspace.ResourceRepositoryStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Workspace.ResourceRepositoryStrategy 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
-
-