public static class Location.LocationBuilder extends Object implements Location.Builder
| Constructor and Description |
|---|
LocationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Location.Builder |
addIndexPart(int index)
Adds a new index part.
|
Location.Builder |
addPart(String part)
Adds a new part at the end of the location.
|
Location.Builder |
addProcessorsPart()
Adds a new "processors" part at the end of the location.
|
Location |
build() |
Location.Builder |
globalName(String globalName)
Sets the name of the global component.
|
public Location.Builder globalName(String globalName)
Location.BuilderglobalName in interface Location.BuilderglobalName - the name of the global componentpublic Location.Builder addPart(String part)
Location.BuilderaddPart in interface Location.Builderpart - the name of the partpublic Location.Builder addProcessorsPart()
Location.BuilderaddProcessorsPart in interface Location.Builderpublic Location.Builder addIndexPart(int index)
Location.BuilderaddIndexPart in interface Location.Builderindex - the index of the component.public Location build()
build in interface Location.BuilderCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.