OpenShift Java Client 2.5.0.Final

com.openshift.internal.client.response
Class LinkParameter

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

public class LinkParameter
extends Object

Author:
Xavier Coulon, Andre Dietisheim

Field Summary
protected  String defaultValue
           
protected  String description
           
protected  String name
           
protected  LinkParameterType type
           
protected  List<String> validOptions
           
 
Constructor Summary
protected LinkParameter(String name, LinkParameterType type, String defaultValue, String description, List<String> validOptions)
           
protected LinkParameter(String name, String type, String defaultValue, String description, List<String> validOptions)
           
 
Method Summary
 String getDefaultValue()
           
 String getDescription()
           
 String getName()
           
 LinkParameterType getType()
           
 List<String> getValidOptions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected final String name

type

protected final LinkParameterType type

description

protected final String description

defaultValue

protected final String defaultValue

validOptions

protected final List<String> validOptions
Constructor Detail

LinkParameter

protected LinkParameter(String name,
                        String type,
                        String defaultValue,
                        String description,
                        List<String> validOptions)
                 throws OpenShiftRequestException
Throws:
OpenShiftRequestException

LinkParameter

protected LinkParameter(String name,
                        LinkParameterType type,
                        String defaultValue,
                        String description,
                        List<String> validOptions)
                 throws OpenShiftRequestException
Throws:
OpenShiftRequestException
Method Detail

getName

public final String getName()
Returns:
the name

getType

public final LinkParameterType getType()
Returns:
the type

getDescription

public final String getDescription()
Returns:
the description

getDefaultValue

public String getDefaultValue()
Returns:
the defaultValue, or null. Only applicable to optional parameters.

getValidOptions

public List<String> getValidOptions()

OpenShift Java Client 2.5.0.Final

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