Class ValueContext
- java.lang.Object
-
- org.ametys.plugins.repository.data.holder.values.ValueContext
-
public class ValueContext extends Object
Object that gives some context for data in data holder manipulations
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ValueContext()
Creates a new instance of aValueContext
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<ExternalizableDataProvider.ExternalizableDataStatus>
getStatus()
Retrieves the status of the data to setstatic ValueContext
newInstance()
Creates a new instance of aValueContext
ValueContext
withStatus(ExternalizableDataProvider.ExternalizableDataStatus status)
Set the status of the data to set
-
-
-
Constructor Detail
-
ValueContext
protected ValueContext()
Creates a new instance of aValueContext
-
-
Method Detail
-
newInstance
public static ValueContext newInstance()
Creates a new instance of aValueContext
- Returns:
- the created instance
-
getStatus
public Optional<ExternalizableDataProvider.ExternalizableDataStatus> getStatus()
Retrieves the status of the data to set- Returns:
- the data status
-
withStatus
public ValueContext withStatus(ExternalizableDataProvider.ExternalizableDataStatus status)
Set the status of the data to set- Parameters:
status
- the data status to set- Returns:
- the current
ValueContext
-
-