Package com.helger.commons.callback
Interface IChangeCallback<DATATYPE>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterChange(DATATYPE aChangedObject)Called after the object changed.EContinuebeforeChange(DATATYPE aObjectToChange)Called before the object will be changed.
-
-
-
Method Detail
-
beforeChange
@Nonnull EContinue beforeChange(@Nonnull DATATYPE aObjectToChange)
Called before the object will be changed.- Parameters:
aObjectToChange- The object to be changed. Nevernull.- Returns:
EContinue.CONTINUEif the action may be performed. If the return value isEContinue.BREAKthe action will not be performed.
-
-