public class SplitPages extends Object implements NextOutputStrategy
| Constructor and Description |
|---|
SplitPages(Collection<Integer> pages) |
SplitPages(Integer... pages) |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureIsValid()
Ensures that the strategy implementation is in a valid state.
|
boolean |
isClosing(Integer page) |
boolean |
isOpening(Integer page) |
public SplitPages(Collection<Integer> pages)
public SplitPages(Integer... pages)
public void ensureIsValid()
throws TaskExecutionException
NextOutputStrategyensureIsValid in interface NextOutputStrategyTaskExecutionException - if not in a valid state.public boolean isOpening(Integer page)
isOpening in interface NextOutputStrategypage - public boolean isClosing(Integer page)
isClosing in interface NextOutputStrategypage - Copyright © 2015. All Rights Reserved.