Class UseDefaultManager
Object
UseDefaultManager
- All Implemented Interfaces:
SelectParam<Optional<Path>>
Uses whatever default-manager exists
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()
Provides a string that can be displayed to the user to describe this particularSelectParam
.boolean
Checks if this is the default option that occurs without any additional user effort.select
(ExecutionArguments executionArguments) Retrieves the parameter.
-
Constructor Details
-
UseDefaultManager
public UseDefaultManager()
-
-
Method Details
-
select
Description copied from interface:SelectParam
Retrieves the parameter.Note that the
ExecutionArguments
might be modified during this operation (e.g. adding a directory parameter).- Specified by:
select
in interfaceSelectParam<Optional<Path>>
- Parameters:
executionArguments
- theExecutionArguments
that may be modified during selection- Returns:
- the selected parameter of type
T
-
isDefault
public boolean isDefault()Description copied from interface:SelectParam
Checks if this is the default option that occurs without any additional user effort.- Specified by:
isDefault
in interfaceSelectParam<Optional<Path>>
- Returns:
- true if it is the default option, false otherwise
-
describe
Description copied from interface:SelectParam
Provides a string that can be displayed to the user to describe this particularSelectParam
.- Specified by:
describe
in interfaceSelectParam<Optional<Path>>
- Returns:
- a descriptive string
- Throws:
ExperimentExecutionException
- if an error occurs while generating the description
-