@Repeatable(value=Resources.class) @Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface Resource
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
args
Default arguments, separated by space.
|
java.lang.String[] |
env
environment or config variables to be used.
|
java.lang.String |
file
The path to the file within the war file or file system.
|
java.lang.Class<?> |
from
Allows for resource 'inheritance'.
|
java.lang.String |
id
The id of that resource.
|
ResourceType |
type
The type of the resource.
|
boolean |
wine
Should the file executed via wine.
|
public abstract java.lang.String file
public abstract ResourceType type
public abstract java.lang.String id
ServiceResources.getExe(java.lang.String)
,
ServiceResources.getFile(java.lang.String)
public abstract boolean wine
public abstract java.lang.String args
(c) 2012-2022, OMSLab, Colorado State University.