com.openshift.internal.client.response
Class CartridgeResourceProperty
java.lang.Object
com.openshift.internal.client.response.CartridgeResourceProperty
public class CartridgeResourceProperty
- extends Object
- Author:
- Andre Dietisheim
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/"
}
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
Copyright © 2014 JBoss, a division of Red Hat, Inc.. All Rights Reserved.