Package de.espirit.firstspirit.workflow
Class WebeditElementStatusProviderPlugin.Factory
java.lang.Object
de.espirit.firstspirit.workflow.WebeditElementStatusProviderPlugin.Factory
- Enclosing interface:
- WebeditElementStatusProviderPlugin
Factory to
create
a WorkflowGroup
.- Since:
- 5.0.206
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull WorkflowGroup
create
(@NotNull String displayName, @NotNull List<IDProvider> elements) Creates a workflow group with the givendisplayName
andelements
.static @NotNull WorkflowGroup
create
(@NotNull String displayName, @NotNull List<IDProvider> elements, boolean detectReleaseState) Creates a workflow group with the givendisplayName
andelements
.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
create
@NotNull public static @NotNull WorkflowGroup create(@NotNull @NotNull String displayName, @NotNull @NotNull List<IDProvider> elements) Creates a workflow group with the givendisplayName
andelements
.- Parameters:
displayName
- display name of the workflow group.elements
- elements of the workflow group.- Returns:
- new workflow group.
- Since:
- 5.0.206
-
create
@NotNull public static @NotNull WorkflowGroup create(@NotNull @NotNull String displayName, @NotNull @NotNull List<IDProvider> elements, boolean detectReleaseState) Creates a workflow group with the givendisplayName
andelements
.- Parameters:
displayName
- display name of the workflow group.elements
- elements of the workflow group.detectReleaseState
-true
to detect the release automatically, based on the contained elements,false
to inherit the release state specified byWebeditElementStatusProviderPlugin.getReleaseState(IDProvider)
.- Returns:
- new workflow group.
- Since:
- 5.2.220507
-