public static interface Location.Builder
Location object.
All Location instances must be created using this builder. The builder implementation may not be thread safe but it
is immutable so each method call in the builder returns a new instance so it can be reused.| 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.
|
Location.Builder globalName(String globalName)
globalName - the name of the global componentLocation.Builder addPart(String part)
part - the name of the partLocation.Builder addProcessorsPart()
Location.Builder addIndexPart(int index)
index - the index of the component.Location build()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.