public abstract class Server extends ExtensibleNode
Modifier and Type | Field and Description |
---|---|
String |
description |
String |
url |
Map<String,ServerVariable> |
variables |
_extensions
_attributes, _extraProperties, _modelId, _ownerDocument, _parent, _validationProblems
Constructor and Description |
---|
Server() |
Modifier and Type | Method and Description |
---|---|
void |
addServerVariable(String name,
ServerVariable serverVariable)
Adds a server variable.
|
abstract ServerVariable |
createServerVariable(String name)
Creates a server variable.
|
ServerVariable |
getServerVariable(String name)
Gets a single server variable by name.
|
List<ServerVariable> |
getServerVariables()
Gets a list of all server variables.
|
ServerVariable |
removeServerVariable(String name)
Removes a single server variable and returns it.
|
addExtension, clearExtensions, createExtension, getExtension, getExtensions, isExtensible, removeExtension
accept, addExtraProperty, addValidationProblem, attachToParent, clearAttributes, clearValidationProblems, getAttribute, getAttributeNames, getExtraProperty, getExtraPropertyNames, getValidationProblemCodes, getValidationProblems, getValidationProblemsFor, hasExtraProperties, isAttached, modelId, ownerDocument, parent, removeExtraProperty, setAttribute
public String url
public String description
public Map<String,ServerVariable> variables
public abstract ServerVariable createServerVariable(String name)
name
- public void addServerVariable(String name, ServerVariable serverVariable)
name
- serverVariable
- public ServerVariable getServerVariable(String name)
name
- public ServerVariable removeServerVariable(String name)
name
- public List<ServerVariable> getServerVariables()
Copyright © 2020 Red Hat. All rights reserved.