public abstract class AbstractCartridgeConstraint extends Object implements ICartridgeConstraint
for cartridges that have already been added and
configured to an application.
Constructor and Description |
---|
AbstractCartridgeConstraint() |
Modifier and Type | Method and Description |
---|---|
<C extends IEmbeddableCartridge> |
getMatching(Collection<C> cartridges)
Returns the cartridge that matches this constraint.
|
abstract <C extends IEmbeddableCartridge> |
matches(C cartridge)
Returns
true if the given cartridge matches this constraint. |
public <C extends IEmbeddableCartridge> Collection<C> getMatching(Collection<C> cartridges)
ICartridgeConstraint
getMatching
in interface ICartridgeConstraint
cartridges
- the cartridges that are available that shall get matched against this constraintpublic abstract <C extends IEmbeddableCartridge> boolean matches(C cartridge)
ICartridgeConstraint
true
if the given cartridge matches this constraint.matches
in interface ICartridgeConstraint
cartridge
- the cartridge that shall match this constraintCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.