Package de.espirit.firstspirit.feature
Interface FeatureAgent.FeatureBuilder
- Enclosing interface:
- FeatureAgent
public static interface FeatureAgent.FeatureBuilder
A builder for creating a new feature descriptor.
- Since:
- 5.2.1203
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@NotNull FeatureDescriptor
create()
Create a new feature descriptor with the current settings.@NotNull FeatureAgent.FeatureBuilder
Set the revision the new feature descriptor should operate in to the newest project revision which is currently available.@NotNull FeatureAgent.FeatureBuilder
useRelease
(boolean value) Should the feature descriptor deliver the release or current version of elements.@NotNull FeatureAgent.FeatureBuilder
useRevision
(@NotNull Revision revision) Set the revision the new feature descriptor should operate in.@NotNull FeatureAgent.FeatureBuilder
useRevision
(@NotNull Date date) Set the date of the revision the new feature descriptor should operate in.
-
Method Details
-
create
Create a new feature descriptor with the current settings.- Returns:
- A new feature descriptor with the current settings.
- Since:
- 5.2.1203
-
useRelease
Should the feature descriptor deliver the release or current version of elements.- Parameters:
value
-true
for "release" andfalse
for current version of elements.- Returns:
- This factory instance.
- Since:
- 5.2.1203
- See Also:
-
useRevision
Set the revision the new feature descriptor should operate in.- Parameters:
revision
- Revision to use.- Returns:
- This factory instance.
- Since:
- 5.2.1203
- See Also:
-
useRevision
Set the date of the revision the new feature descriptor should operate in. The revision will be the latest revision with a creation time less or equal to the provided date.- Parameters:
date
- Date to use.- Returns:
- This factory instance.
- Since:
- 5.2.1203
- See Also:
-
useLatestRevision
Set the revision the new feature descriptor should operate in to the newest project revision which is currently available.- Returns:
- This factory instance.
- Since:
- 5.2.1203
- See Also:
-