Class WebeditElementStatusProviderPlugin.Factory

java.lang.Object
de.espirit.firstspirit.workflow.WebeditElementStatusProviderPlugin.Factory
Enclosing interface:
WebeditElementStatusProviderPlugin

public static class WebeditElementStatusProviderPlugin.Factory extends Object
Factory to create a WorkflowGroup.
Since:
5.0.206
  • Constructor Details

    • Factory

      public Factory()
  • Method Details

    • create

      @NotNull public static WorkflowGroup create(@NotNull String displayName, @NotNull List<IDProvider> elements)
      Creates a workflow group with the given displayName and elements.
      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 WorkflowGroup create(@NotNull String displayName, @NotNull List<IDProvider> elements, boolean detectReleaseState)
      Creates a workflow group with the given displayName and elements.
      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 by WebeditElementStatusProviderPlugin.getReleaseState(IDProvider).
      Returns:
      new workflow group.
      Since:
      5.2.220507