Module org.mule.runtime.dsl.api
Class DefaultComponentLocation.DefaultLocationPart
java.lang.Object
org.mule.runtime.dsl.api.component.config.DefaultComponentLocation.DefaultLocationPart
- All Implemented Interfaces:
Serializable,org.mule.runtime.api.component.location.LocationPart
- Enclosing class:
- DefaultComponentLocation
@NoInstantiate
@NoExtend
public static class DefaultComponentLocation.DefaultLocationPart
extends Object
implements org.mule.runtime.api.component.location.LocationPart, Serializable
A location part represent an specific location of a component within another component.
- Since:
- 4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultLocationPart(String partPath, Optional<org.mule.runtime.api.component.TypedComponentIdentifier> partIdentifier, Optional<String> fileName, Optional<Integer> lineInFile, Optional<Integer> startColumn) Deprecated.DefaultLocationPart(String partPath, Optional<org.mule.runtime.api.component.TypedComponentIdentifier> partIdentifier, Optional<String> fileName, OptionalInt lineInFile, OptionalInt startColumn) -
Method Summary
-
Constructor Details
-
DefaultLocationPart
public DefaultLocationPart(String partPath, Optional<org.mule.runtime.api.component.TypedComponentIdentifier> partIdentifier, Optional<String> fileName, OptionalInt lineInFile, OptionalInt startColumn) - Parameters:
partPath- the path of this partpartIdentifier- the component identifier of the part if it's not a synthetic partfileName- the file name in which the component was definedlineInFile- the line number in which the component was definedstartColumn- the column number in which the component was defined- Since:
- 1.3
-
DefaultLocationPart
@Deprecated public DefaultLocationPart(String partPath, Optional<org.mule.runtime.api.component.TypedComponentIdentifier> partIdentifier, Optional<String> fileName, Optional<Integer> lineInFile, Optional<Integer> startColumn) Deprecated.since 1.3 use#DefaultComponentLocation(String, Optional, Optional, Optional, Optional)instead.- Parameters:
partPath- the path of this partpartIdentifier- the component identifier of the part if it's not a synthetic partfileName- the file name in which the component was definedlineInFile- the line number in which the component was defined
-
-
Method Details
-
getPartPath
- Specified by:
getPartPathin interfaceorg.mule.runtime.api.component.location.LocationPart- Returns:
- the string representation of the part
-
getPartIdentifier
- Specified by:
getPartIdentifierin interfaceorg.mule.runtime.api.component.location.LocationPart- Returns:
- if it's a synthetic part this is null, if not then it's the identifier of the configuration element.
-
getFileName
- Specified by:
getFileNamein interfaceorg.mule.runtime.api.component.location.LocationPart
-
getLineInFile
- Specified by:
getLineInFilein interfaceorg.mule.runtime.api.component.location.LocationPart
-
getLine
- Specified by:
getLinein interfaceorg.mule.runtime.api.component.location.LocationPart
-
getStartColumn
- Specified by:
getStartColumnin interfaceorg.mule.runtime.api.component.location.LocationPart
-
getColumn
- Specified by:
getColumnin interfaceorg.mule.runtime.api.component.location.LocationPart
-
equals
-
hashCode
public int hashCode() -
toString
-
#DefaultComponentLocation(String, Optional, Optional, Optional, Optional)instead.