Arquillian Container Test API 1.0.0.CR8

org.jboss.arquillian.container.test.api
Annotation Type Deployment


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Deployment

Defines that this method returns a deployment definition, either a Archive or a Descriptor.

Version:
$Revision: $
Author:
Aslak Knutsen

Optional Element Summary
 boolean managed
          Describes whether or not this deployment should be deployed by Arquillian.
 String name
          Name the deployment so you can reference it using the Deployer API if managed is false or target is using @OperateOnDeployment
 int order
          If multiple deployments are specified against the same target and defined as startup, this control the order of which they will be given to the Container.
 boolean testable
          Defines if this deployment should be wrapped up based on the protocol so the testcase can be executed incontainer.
 

name

public abstract String name
Name the deployment so you can reference it using the Deployer API if managed is false or target is using @OperateOnDeployment

Returns:
The name of this Deployment
Default:
"_DEFAULT_"

managed

public abstract boolean managed
Describes whether or not this deployment should be deployed by Arquillian.

Returns:
Default:
true

order

public abstract int order
If multiple deployments are specified against the same target and defined as startup, this control the order of which they will be given to the Container.

Returns:
Default:
-1

testable

public abstract boolean testable
Defines if this deployment should be wrapped up based on the protocol so the testcase can be executed incontainer.

Returns:
Default:
true

Arquillian Container Test API 1.0.0.CR8

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.