public final class BaselineDescriptor extends Object
This descriptor is to be configured on the ItemScope
of the related module.
The following snippet requests to read the baseline 3.2
of the module /MyFolder/MyModule
.
ReaderScope scope = new ReaderScope(); ItemScope itemScope = scope.getItemScope("/MyFolder/MyModule"); itemScope.setMode(ItemScopeMode.COMPLETE); itemScope.setBaseline(new BaselineDescriptor(3, 2)); Map<String, Object> options = new HashMap<String, Object>(); options.put(Common.OPTION_SCOPE, scope); myModel.read("Application", "", options).
This class is not intended to be subclassed by clients but may be instantiated.
Constructor and Description |
---|
BaselineDescriptor(int major,
int minor) |
BaselineDescriptor(int major,
int minor,
String suffix) |
public BaselineDescriptor(int major, int minor)
public BaselineDescriptor(int major, int minor, String suffix)