Interface Policy
-
- All Known Subinterfaces:
HolidayPolicy
,VetoPolicy
- All Known Implementing Classes:
AbstractPolicy
public interface Policy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addVetoPolicyListener(PolicyListener listener)
Adds aPolicyListener
.void
removeVetoPolicyListener(PolicyListener listener)
Removes aPolicyListener
.
-
-
-
Method Detail
-
addVetoPolicyListener
void addVetoPolicyListener(PolicyListener listener)
Adds aPolicyListener
.- Parameters:
listener
- aPolicyListener
to add
-
removeVetoPolicyListener
void removeVetoPolicyListener(PolicyListener listener)
Removes aPolicyListener
.- Parameters:
listener
- aPolicyListener
to remove
-
-