Class ActivityStateDefinition<WS extends AbstractActivityWorkStateType>
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.activity.run.state.ActivityStateDefinition<WS>
-
public class ActivityStateDefinition<WS extends AbstractActivityWorkStateType> extends Object
TODO better name Defines basic facts about activity work state, like type of the work state, the persistence level, and so on.
-
-
Constructor Summary
Constructors Constructor Description ActivityStateDefinition(@NotNull QName workStateTypeName, @NotNull ActivityStatePersistenceType persistence)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ActivityStatePersistenceType
getPersistence()
@NotNull QName
getWorkStateTypeName()
boolean
isSingleRealization()
static <WS extends AbstractActivityWorkStateType>
ActivityStateDefinition<WS>normal()
static <WS extends AbstractActivityWorkStateType>
ActivityStateDefinition<WS>normal(@NotNull QName workStateTypeName)
static <WS extends AbstractActivityWorkStateType>
ActivityStateDefinition<WS>perpetual()
static <WS extends AbstractActivityWorkStateType>
ActivityStateDefinition<WS>perpetual(@NotNull QName workStateTypeName)
-
-
-
Constructor Detail
-
ActivityStateDefinition
public ActivityStateDefinition(@NotNull @NotNull QName workStateTypeName, @NotNull @NotNull ActivityStatePersistenceType persistence)
-
-
Method Detail
-
normal
public static <WS extends AbstractActivityWorkStateType> ActivityStateDefinition<WS> normal()
-
normal
public static <WS extends AbstractActivityWorkStateType> ActivityStateDefinition<WS> normal(@NotNull @NotNull QName workStateTypeName)
-
perpetual
public static <WS extends AbstractActivityWorkStateType> ActivityStateDefinition<WS> perpetual()
-
perpetual
public static <WS extends AbstractActivityWorkStateType> ActivityStateDefinition<WS> perpetual(@NotNull @NotNull QName workStateTypeName)
-
getWorkStateTypeName
@NotNull public @NotNull QName getWorkStateTypeName()
-
getPersistence
@NotNull public @NotNull ActivityStatePersistenceType getPersistence()
-
isSingleRealization
public boolean isSingleRealization()
-
-