OpenShift Java Client 2.5.0.Final

com.openshift.internal.client.response
Class CartridgeResourceProperty

java.lang.Object
  extended by com.openshift.internal.client.response.CartridgeResourceProperty

public class CartridgeResourceProperty
extends Object

Author:
Andre Dietisheim

Constructor Summary
protected CartridgeResourceProperty(String name, String value)
          Constructor called when embedded cartridges are listed within an application.
protected CartridgeResourceProperty(String name, String type, String description, String value)
          Constructor called when embedded cartridges are listed on their own (when /cartridges resource is queried.
 
Method Summary
 String getDescription()
           
 String getName()
           
 String getType()
           
 String getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CartridgeResourceProperty

protected CartridgeResourceProperty(String name,
                                    String value)
Constructor called when embedded cartridges are listed within an application.

ex.

 "metrics-0.1":{
          "connection_url":"https://eap6-foobarz.rhcloud.com/metrics/",
          "info":"Connection URL: https://eap6-foobarz.rhcloud.com/metrics/"
 }
 
 


CartridgeResourceProperty

protected CartridgeResourceProperty(String name,
                                    String type,
                                    String description,
                                    String value)
Constructor called when embedded cartridges are listed on their own (when /cartridges resource is queried.

ex.

 "properties":[
  {
          "name":"connection_url",
          "type":"cart_data",
          "description":"Application metrics URL",
          "value":"https://eap6-foobarz.rhcloud.com/metrics/"
 }
 

Method Detail

getName

public String getName()

getType

public String getType()

getDescription

public String getDescription()

getValue

public String getValue()

toString

public String toString()
Overrides:
toString in class Object

OpenShift Java Client 2.5.0.Final

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