class SplitByOutlineLevelParameters extends MultiplePdfSourceMultipleOutputParameters implements OptimizableOutputTaskParameters, DiscardableOutlineTaskParameters {

    @Override
    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof SplitByOutlineLevelParameters)) {
            return false;
        }
        SplitByOutlineLevelParameters parameter = (SplitByOutlineLevelParameters) other;
        return new EqualsBuilder().appendSuper(super.equals(other))
                .append(optimizationPolicy, parameter.getOptimizationPolicy())
                .append(discardOutline, parameter.discardOutline())
                .append(levelToSplitAt, parameter.getLevelToSplitAt())
                .append(matchingTitleRegEx, parameter.getMatchingTitleRegEx()).isEquals();
    }

    public  SplitByOutlineLevelParameters(int levelToSplitAt);

}