public interface ICartridgeConstraint
Modifier and Type | Method and Description |
---|---|
<C extends IEmbeddableCartridge> |
getMatching(Collection<C> availableCartridges)
Returns the cartridge that matches this constraint.
|
<C extends IEmbeddableCartridge> |
matches(C cartridge)
Returns
true if the given cartridge matches this constraint. |
<C extends IEmbeddableCartridge> Collection<C> getMatching(Collection<C> availableCartridges)
availableCartridges
- the cartridges that are available that shall get matched against this constraint<C extends IEmbeddableCartridge> boolean matches(C cartridge)
true
if the given cartridge matches this constraint.cartridge
- the cartridge that shall match this constraintCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.