Enum BundleDeploymentMethod
- java.lang.Object
-
- java.lang.Enum<BundleDeploymentMethod>
-
- org.apache.sling.maven.bundlesupport.deploy.BundleDeploymentMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<BundleDeploymentMethod>
public enum BundleDeploymentMethod extends Enum<BundleDeploymentMethod>
Possible methodologies for deploying (installing and uninstalling) bundles from the remote server. Use camel-case values because those are used when you configure the plugin (and uppercase with separators "_" just looks ugly in that context)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SlingPostServlet
Via POST to Sling directlyWebConsole
Via POST to Felix Web ConsoleWebDAV
Via WebDAV
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeployMethod
execute()
static BundleDeploymentMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static BundleDeploymentMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WebConsole
public static final BundleDeploymentMethod WebConsole
Via POST to Felix Web Console
-
WebDAV
public static final BundleDeploymentMethod WebDAV
Via WebDAV
-
SlingPostServlet
public static final BundleDeploymentMethod SlingPostServlet
Via POST to Sling directly
-
-
Method Detail
-
values
public static BundleDeploymentMethod[] 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 (BundleDeploymentMethod c : BundleDeploymentMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BundleDeploymentMethod 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
-
execute
public DeployMethod execute()
-
-