Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

addAgentTags(String, Collection) - Method in SystemModel
Adds the agent tags
addEntry(SystemEntry) - Method in SystemModel
addNewFilter(SystemFilter) - Method in SystemFilterBuilder
and(Collection) - Method in LogicSystemFilterChain
and(Closure) - Method in SystemFilterBuilder
and(Collection) - Method in SystemFilterHelper
Convenient call to create a chain of filters that are 'anded' together.

B

BindingBuilder - Class in org.linkedin.glu.provisioner.core.model

C

c(String, Closure) - Method in SystemFilterBuilder
canonicalPrint(SystemModel) - Method in JsonSystemModelRenderer
canonicalPrint(SystemModel) - Method in SystemModelRenderer
Renders a canonical representation of the model as a string.
clone() - Method in SystemEntry
clone() - Method in SystemModel
cloneNoEntries() - Method in SystemModel
ClosureSystemFilter - Class in org.linkedin.glu.provisioner.core.model
@author ypujante@linkedin.com
ClosureSystemFilter(Closure) - Constructor in ClosureSystemFilter
compactPrint(SystemModel) - Method in JsonSystemModelRenderer
compactPrint(SystemModel) - Method in SystemModelRenderer
Renders a compact representation of the model as a string (contrary to pretty print, there should be no space, indentation or carriage returns)
computeContentSha1() - Method in SystemModel
@return the sha1 of the content (does not include the id)
computeStats(def) - Method in SystemModel
Computes the stats of this model limited by the set of keys provided.
computeSystemId(SystemModel) - Method in JsonSystemModelRenderer
computeSystemId(SystemModel) - Method in SystemModelRenderer
computes the system id with the idea that if 2 systems have the exact same content, they should generate the same id!
create(Collection) - Method in SystemEntryStateSystemFilter
createNode(Object, Map, Object) - Method in StepBuilder

D

DEFAULT_ENTRY_STATE - Field in SystemEntry
DEFAULT_PARENT - Field in SystemEntry
definesSubsetOrEqual(SystemFilter, SystemFilter) - Method in SystemFilterHelper
This call is a 'simplified' version as it for example does not check for a filter like and{and{filter}}...
deserialize(String) - Method in JSONSystemModelSerializer
deserialize(String) - Method in SystemModelSerializer

E

each(Closure) - Method in SystemModel
equals(def) - Method in ClosureSystemFilter
equals(def) - Method in FlattenSystemFilter
equals(def) - Method in LogicAndSystemFilterChain
equals(def) - Method in LogicNotSystemFilter
equals(def) - Method in LogicOrSystemFilterChain
equals(def) - Method in LogicSystemFilterChain
equals(def) - Method in NameEqualsValueSystemFilter
equals(def) - Method in PropertySystemFilter
equals(Object) - Method in PropertySystemFilterBuilder
Handles notation agent.initParameters.m1 == 'foo'
equals(def) - Method in SystemEntry
equals(def) - Method in SystemEntryKeyModelFilter
equals(def) - Method in SystemModel
equals(def) - Method in TagsSystemFilter
equals(Object) - Method in TagsSystemFilterBuilder
Handles notation tags ==

F

filter(SystemEntry) - Method in ClosureSystemFilter
filter(SystemEntry) - Method in FlattenSystemFilter
filter(SystemEntry) - Method in LogicAndSystemFilterChain
filter(SystemEntry) - Method in LogicNotSystemFilter
filter(SystemEntry) - Method in LogicOrSystemFilterChain
filter(SystemEntry) - Method in PropertySystemFilter
filter(SystemEntry) - Method in SystemEntryKeyModelFilter
filter(SystemEntry) - Method in SystemEntryStateSystemFilter
filter(SystemEntry) - Method in SystemFilter
@return true if the entry should be part of the filter, false otherwise
filter(SystemModel, SystemModel) - Method in SystemModel
Filters the 2 models in the following way:
filter(SystemEntry) - Method in TagsSystemFilter
filterBy(String, def) - Method in SystemModel
This is a shortcut to apply a filter of the style: se."
filterByMetadata(String, def) - Method in SystemModel
This is a shortcut to apply a filter where the metadata matches the value
filterKeys(SystemModel, SystemModel) - Method in SystemModel
Filters the 2 models in the following way:
  • filter system2 with all filter applied to system1
  • filter system1 with all filter applied to system2
  • compute and return union of keys between system1 and system2
findChildrenKeys(String) - Method in SystemModel
findEntries() - Method in SystemModel
findEntry(String) - Method in SystemModel
flatten(Map) - Method in SystemEntry
@param destMap the map to store the result
FlattenSystemFilter - Class in org.linkedin.glu.provisioner.core.model
Flatten the entry (SystemEntry#flatten()#flatten()) and use name as a key in the flattened map (this filter is expensive!).
fromExternalRepresentation(def) - Method in SystemEntry
fromExternalRepresentation(def) - Method in SystemModel

G

getAgentTags() - Method in SystemModel
@return all the agent tags
getCommonTags(Collection) - Method in SystemEntry
getCurrentStepBuilder() - Method in StepBuilder
getEntryState() - Method in SystemEntry
getKey() - Method in SystemEntry
getKeys(Object) - Method in SystemModel
getKind() - Method in ClosureSystemFilter
getKind() - Method in FlattenSystemFilter
getKind() - Method in LogicAndSystemFilterChain
getKind() - Method in LogicNotSystemFilter
getKind() - Method in LogicOrSystemFilterChain
getKind() - Method in PropertySystemFilter
getKind() - Method in SystemEntryKeyModelFilter
getKind() - Method in SystemEntryStateSystemFilter
getKind() - Method in SystemFilter
@return kind of filter
getKind() - Method in TagsSystemFilter
getMetadata() - Method in MetadataProvider
getMissingTags(Collection) - Method in SystemEntry
getName() - Method in SystemModel
@return the metadata called 'name'
getParent() - Method in SystemEntry
getParentKey() - Method in SystemEntry
getTags() - Method in SystemEntry
getTagsCount() - Method in SystemEntry
getType() - Method in JSONSystemModelSerializer
getType() - Method in SystemModelSerializer
getVariable(String) - Method in BindingBuilder
groupByEntryMetadata(String) - Method in SystemModel
@return a collection with all the unique values for entry.metadata[name]

H

hasAll(def) - Method in TagsSystemFilterBuilder
Handles hasAll(xxx)
hasAllTags(Collection) - Method in SystemEntry
hasAny(def) - Method in TagsSystemFilterBuilder
Handles hasAny(xxx)
hasAnyTag(Collection) - Method in SystemEntry
hashCode() - Method in ClosureSystemFilter
hashCode() - Method in LogicNotSystemFilter
hashCode() - Method in LogicSystemFilterChain
hashCode() - Method in NameEqualsValueSystemFilter
hashCode() - Method in SystemEntry
hashCode() - Method in SystemEntryKeyModelFilter
hashCode() - Method in SystemModel
hashCode() - Method in TagsSystemFilter
hasTag(String) - Method in SystemEntry
hasTags() - Method in SystemEntry

I

INSTANCE - Field in JSONSystemModelSerializer
isDefaultParent() - Method in SystemEntry
isEmptyAgent() - Method in SystemEntry

J

JsonSystemModelRenderer - Class in org.linkedin.glu.provisioner.core.model
Customizes pretty printing.
JSONSystemModelSerializer - Class in org.linkedin.glu.provisioner.core.model
Uses json for the format.

K


L

log - Field in PropertySystemFilter
LogicAndSystemFilterChain - Class in org.linkedin.glu.provisioner.core.model
Implement composite/chain pattern for executing a AND
LogicNotSystemFilter - Class in org.linkedin.glu.provisioner.core.model
@author ypujante@linkedin.com
LogicOrSystemFilterChain - Class in org.linkedin.glu.provisioner.core.model
Implement composite/chain pattern for executing a OR
LogicSystemFilterChain - Class in org.linkedin.glu.provisioner.core.model
Base class for logic filter chain

M

MetadataProvider - Interface in org.linkedin.glu.provisioner.core.model
@author yan@pongasoft.com
MODULE - Field in PropertySystemFilter

N

NameEqualsValueSystemFilter - Class in org.linkedin.glu.provisioner.core.model
Applies to first level of metadata parameters
not(Closure) - Method in SystemFilterBuilder

O

or(Closure) - Method in SystemFilterBuilder

P

parse(String) - Method in SystemFilterBuilder
Parses the dsl (see documentation)
prettyPrint(SystemModel) - Method in JsonSystemModelRenderer
prettyPrint(SystemModel) - Method in SystemModelRenderer
Renders a pretty printed version of the model as a string
propertyMissing(String, def) - Method in PropertySystemFilterBuilder
Handles notation agent.initParameters.m1 = 'foo'
propertyMissing(String, def) - Method in SystemFilterBuilder
PropertySystemFilter - Class in org.linkedin.glu.provisioner.core.model
@author ypujante@linkedin.com
PropertySystemFilterBuilder - Class in org.linkedin.glu.provisioner.core.model

Q


R

removeEntry(String) - Method in SystemModel

S

serialize(SystemModel) - Method in JSONSystemModelSerializer
serialize(SystemModel) - Method in SystemModelSerializer
setName(String) - Method in PropertySystemFilter
setParent(Object, Object) - Method in StepBuilder
setTags(Collection) - Method in SystemEntry
setVariable(String, Object) - Method in BindingBuilder
SHA1 - Field in JsonSystemModelRenderer
SHA1 - Field in SystemModel
StepBuilder - Class in org.linkedin.glu.provisioner.core.plan.impl
@author ypujante@linkedin.com
SystemEntry - Class in org.linkedin.glu.provisioner.core.model
@author ypujante@linkedin.com
SystemEntryKeyModelFilter - Class in org.linkedin.glu.provisioner.core.model
Filter by key.
SystemEntryStateSystemFilter - Class in org.linkedin.glu.provisioner.core.model
@author yan@pongasoft.com
SystemFilter - Interface in org.linkedin.glu.provisioner.core.model
Represents a system filter.
SystemFilterBuilder - Class in org.linkedin.glu.provisioner.core.model
DSL for SystemFilter.
SystemFilterHelper - Class in org.linkedin.glu.provisioner.core.model
@author yan@pongasoft.com
SystemModel - Class in org.linkedin.glu.provisioner.core.model
@author ypujante@linkedin.com
SystemModelRenderer - Interface in org.linkedin.glu.provisioner.core.model
@author yan@pongasoft.com
SystemModelSerializer - Interface in org.linkedin.glu.provisioner.core.model
@author ypujante@linkedin.com

T

TAGS_SERIALIZER - Field in TagsSystemFilterBuilder
TagsSystemFilter - Class in org.linkedin.glu.provisioner.core.model
Filter by tags.
TagsSystemFilter(Collection, boolean) - Constructor in TagsSystemFilter
TagsSystemFilterBuilder - Class in org.linkedin.glu.provisioner.core.model
toCanonicalRepresentation() - Method in SystemModel
In the canonical representation, the agent tags are removed from the entry tags
toCollection(def) - Method in TagsSystemFilterBuilder
Converts the tags into a collection: allowed types: String, Collection or anything that answer to each
toDSL() - Method in ClosureSystemFilter
toDSL() - Method in FlattenSystemFilter
toDSL() - Method in LogicNotSystemFilter
toDSL() - Method in LogicSystemFilterChain
toDSL() - Method in PropertySystemFilter
toDSL() - Method in SystemEntryKeyModelFilter
toDSL() - Method in SystemEntryStateSystemFilter
toDSL() - Method in SystemFilter
@return a representation that can be reparsed as a dsl
toDSL() - Method in TagsSystemFilter
toExternalRepresentation() - Method in ClosureSystemFilter
toExternalRepresentation() - Method in LogicNotSystemFilter
toExternalRepresentation() - Method in LogicSystemFilterChain
toExternalRepresentation() - Method in NameEqualsValueSystemFilter
toExternalRepresentation() - Method in SystemEntry
toExternalRepresentation() - Method in SystemEntryKeyModelFilter
toExternalRepresentation() - Method in SystemEntryStateSystemFilter
toExternalRepresentation() - Method in SystemFilter
@return an external representation of the filter
toExternalRepresentation(boolean) - Method in SystemModel
toExternalRepresentation() - Method in TagsSystemFilter
toString() - Method in ClosureSystemFilter
toString() - Method in LogicNotSystemFilter
toString() - Method in LogicSystemFilterChain
toString() - Method in NameEqualsValueSystemFilter
toString() - Method in PropertySystemFilter
toString() - Method in SystemEntry
toString() - Method in SystemEntryKeyModelFilter
toString() - Method in SystemModel
toString() - Method in TagsSystemFilter

U

unand(SystemFilter, SystemFilter) - Method in SystemFilterHelper
This is the 'opposite' of and: tries to remove f2 from f1 (if possible... this call is simplified in the sense that it does not handle complex scenarios)
unfilter() - Method in SystemModel
@return the system as it was unfiltered
updateEntry(SystemEntry) - Method in SystemModel

V


W


X


Y


Z


_


Groovy Documentation