OpenShift Java Client 2.5.0.Final

com.openshift.client.cartridge.selector
Class StringPropertyQuery

java.lang.Object
  extended by com.openshift.internal.client.cartridge.AbstractCartridgeQuery
      extended by com.openshift.client.cartridge.selector.StringPropertyQuery

public abstract class StringPropertyQuery
extends AbstractCartridgeQuery

A constraint that shall match available cartridges by url.

Author:
Andre Dietisheim
See Also:
IEmbeddableCartridge, IStandaloneCartridge

Constructor Summary
StringPropertyQuery(Pattern pattern)
           
StringPropertyQuery(String propertyPattern)
           
 
Method Summary
protected abstract
<C extends ICartridge>
String
getProperty(C cartridge)
           
<C extends ICartridge>
boolean
matches(C cartridge)
           
 
Methods inherited from class com.openshift.internal.client.cartridge.AbstractCartridgeQuery
get, getAll, getConnection, getConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringPropertyQuery

public StringPropertyQuery(String propertyPattern)

StringPropertyQuery

public StringPropertyQuery(Pattern pattern)
Method Detail

matches

public <C extends ICartridge> boolean matches(C cartridge)
Specified by:
matches in class AbstractCartridgeQuery

getProperty

protected abstract <C extends ICartridge> String getProperty(C cartridge)

OpenShift Java Client 2.5.0.Final

Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.