Annotation Interface DeploymentProducer


@Inherited @Documented @Target(METHOD) @Retention(RUNTIME) public @interface DeploymentProducer
Used to identify a method as a method which creates a deployment. The method must be static and must have a return type of any valid Archive.

The method can have no parameters or at most one parameter of type TestInfo.

A DeploymentProducer method cannot be present on the same test that includes a GenerateDeployment. These are mutually exclusive deployment descriptors.

Author:
James R. Perkins