com.openshift.internal.client.cartridge
Class AbstractCartridgeQuery
java.lang.Object
com.openshift.internal.client.cartridge.AbstractCartridgeQuery
- Direct Known Subclasses:
- LatestVersionQuery, StringPropertyQuery
public abstract class AbstractCartridgeQuery
- extends Object
A base class for a constraint that shall match available embeddable
cartridges (on the platform). Among several matching ones, the one with the
highest version is chosen. application.
- Author:
- Andre Dietisheim
- See Also:
for cartridges that have already been added and
configured to an application.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCartridgeQuery
public AbstractCartridgeQuery()
getAll
public <C extends ICartridge> Collection<C> getAll(Collection<C> cartridges)
get
public <C extends ICartridge> C get(Collection<C> cartridges)
matches
public abstract <C extends ICartridge> boolean matches(C cartridge)
getConnection
protected IOpenShiftConnection getConnection(IApplication application)
getConnection
protected IOpenShiftConnection getConnection(IDomain domain)
Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.