Package ratpack.core.impose
Interface ImpositionsSpec
-
public interface ImpositionsSpec
Used to specify a set of impositions.- Since:
- 1.2
- See Also:
Impositions.of(Action)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImpositionsSpec
add(Imposition imposition)
Adds the imposition, replacing any previous imposition of the exact same type.
-
-
-
Method Detail
-
add
ImpositionsSpec add(Imposition imposition)
Adds the imposition, replacing any previous imposition of the exact same type.- Parameters:
imposition
- the imposition to add- Returns:
this
-
-