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.booleanChecks 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:SelectParamRetrieves the parameter.Note that the
ExecutionArgumentsmight be modified during this operation (e.g. adding a directory parameter).- Specified by:
selectin interfaceSelectParam<Optional<Path>>- Parameters:
executionArguments- theExecutionArgumentsthat may be modified during selection- Returns:
- the selected parameter of type
T
-
isDefault
public boolean isDefault()Description copied from interface:SelectParamChecks if this is the default option that occurs without any additional user effort.- Specified by:
isDefaultin interfaceSelectParam<Optional<Path>>- Returns:
- true if it is the default option, false otherwise
-
describe
Description copied from interface:SelectParamProvides a string that can be displayed to the user to describe this particularSelectParam.- Specified by:
describein interfaceSelectParam<Optional<Path>>- Returns:
- a descriptive string
- Throws:
ExperimentExecutionException- if an error occurs while generating the description
-