Package org.wurbelizer.wurblet
Class WurbletData
java.lang.Object
org.wurbelizer.wurblet.WurbletData
- All Implemented Interfaces:
Serializable
Class holding the wurblet data.
An instance of this class is serialized per wurblet.
An instance of this class is serialized per wurblet.
- See Also:
-
Constructor Summary
ConstructorDescriptionWurbletData
(String[] source, String[] args) Creates an instance of the wurblet data. -
Method Summary
-
Constructor Details
-
WurbletData
Creates an instance of the wurblet data. This is usually done by the wurbiler.- Parameters:
source
- the fixed source part.args
- the wurblet args. null = provided by container.
-
-
Method Details
-
getArgs
Gets the preset arguments for the wurblet.- Returns:
- preset (fixed) arguments, null = get from container
-
setArgs
Sets the wurblet arguments (e.g. by the @{args} wurblet command).- Parameters:
args
- fixed args, null = get from container
-
getSource
Get the fixed source.- Returns:
- fixed source (never null!)
-
setSource
Set the fixed source.- Parameters:
source
- fixed source as an array of String.
-