Package liquibase.changelog.filter
Class ChangeSetFilterResult
java.lang.Object
liquibase.changelog.filter.ChangeSetFilterResult
Contains the result of a
ChangeSetFilter.accepts(liquibase.changelog.ChangeSet)
call.
getMessage()
, but getFilter()
can be used to programmatically determine the reason for accepting or not.
-
Constructor Summary
ConstructorDescriptionChangeSetFilterResult
(boolean accepted, String message, Class<? extends ChangeSetFilter> filter) ChangeSetFilterResult
(boolean accepted, String message, Class<? extends ChangeSetFilter> filter, String mdcName, String displayName) -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends ChangeSetFilter>
Returns the class of the filter that accepted or rejected this changeSet.Free-form text message from the filter giving the reason for accepting or rejecting.boolean
Was the changeSet accepted by the filtertoString()
-
Constructor Details
-
ChangeSetFilterResult
public ChangeSetFilterResult(boolean accepted, String message, Class<? extends ChangeSetFilter> filter) -
ChangeSetFilterResult
public ChangeSetFilterResult(boolean accepted, String message, Class<? extends ChangeSetFilter> filter, String mdcName, String displayName)
-
-
Method Details
-
isAccepted
public boolean isAccepted()Was the changeSet accepted by the filter -
getMessage
Free-form text message from the filter giving the reason for accepting or rejecting. May be null. -
getFilter
Returns the class of the filter that accepted or rejected this changeSet. -
getMdcName
-
getDisplayName
-
toString
-