| Modifier and Type | Field and Description |
|---|---|
| private List | args
Command line arguments. |
| private String | defaultValue
The default value. |
| private Path | implementationClasspath
User specified path used as classpath when loading the implementation. |
| private String | magicValue
The magic property to consult. |
| private String | userChoice
The explicitly chosen implementation. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FacadeTaskHelper(String
The default value for the implementation.
Must not be null. defaultValue, String the value of a magic property that may hold a user.
choice. May be null. magicValue)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | addImplementationArgument(ImplementationSpecificArgument
an argument to add. arg)Command line argument. |
| public String[] | Returns: an array of command line arguments.Retrieves the command line arguments enabled for the current facade implementation. |
| public String | |
| public String | |
| public Path | Returns: a Path instance that may be appended tothe current project project)The classpath to use when loading the implementation. |
| public boolean | Returns: true if magic or user choice has be set.Tests whether the implementation has been chosen by the user (either via a magic property or explicitly. |
| public void | setImplementation(String
the explicitly chosen implementation. userChoice)Used for explicit user choices. |
| public void | setMagicValue(String
the value of a magic property that may hold a user. magicValue)Used to set the value of the magic property. |
| args | back to summary |
|---|---|
| private List<ImplementationSpecificArgument> args Command line arguments. | |
| defaultValue | back to summary |
|---|---|
| private String defaultValue The default value. | |
| implementationClasspath | back to summary |
|---|---|
| private Path implementationClasspath User specified path used as classpath when loading the implementation. | |
| magicValue | back to summary |
|---|---|
| private String magicValue The magic property to consult. | |
| userChoice | back to summary |
|---|---|
| private String userChoice The explicitly chosen implementation. | |
| FacadeTaskHelper | back to summary |
|---|---|
public FacadeTaskHelper(String defaultValue)
| |
| FacadeTaskHelper | back to summary |
|---|---|
| public FacadeTaskHelper(String defaultValue, String magicValue) | |
| addImplementationArgument | back to summary |
|---|---|
| public void addImplementationArgument(ImplementationSpecificArgument arg) Command line argument.
| |
| getArgs | back to summary |
|---|---|
| public String[] getArgs() Retrieves the command line arguments enabled for the current facade implementation.
| |
| getExplicitChoice | back to summary |
|---|---|
| public String getExplicitChoice() Retrieves the explicit user choice.
| |
| getImplementation | back to summary |
|---|---|
| public String getImplementation() Retrieves the implementation.
| |
| getImplementationClasspath | back to summary |
|---|---|
| public Path getImplementationClasspath(Project project) The classpath to use when loading the implementation. | |
| hasBeenSet | back to summary |
|---|---|
| public boolean hasBeenSet() Tests whether the implementation has been chosen by the user (either via a magic property or explicitly.
| |
| setImplementation | back to summary |
|---|---|
| public void setImplementation(String userChoice) Used for explicit user choices.
| |
| setMagicValue | back to summary |
|---|---|
| public void setMagicValue(String magicValue) Used to set the value of the magic property.
| |