Package org.trellisldp.app
Class DefaultConstraintServices
- java.lang.Object
-
- org.trellisldp.app.DefaultConstraintServices
-
- All Implemented Interfaces:
Iterable<ConstraintService>
,ConstraintServices
public class DefaultConstraintServices extends Object implements ConstraintServices
A default ConstraintServices implementation, using a backingCollection
.
-
-
Constructor Summary
Constructors Constructor Description DefaultConstraintServices(Collection<ConstraintService> services)
Create a ConstraintServices object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<ConstraintService>
iterator()
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
DefaultConstraintServices
public DefaultConstraintServices(Collection<ConstraintService> services)
Create a ConstraintServices object.- Parameters:
services
- the constraint services.
-
-
Method Detail
-
iterator
public Iterator<ConstraintService> iterator()
- Specified by:
iterator
in interfaceIterable<ConstraintService>
-
-