Class ProcessingResultImpl
- java.lang.Object
-
- jetbrains.buildServer.parameters.impl.ProcessingResultImpl
-
- All Implemented Interfaces:
ProcessingResult
public class ProcessingResultImpl extends java.lang.Object implements ProcessingResult
Stores the result of a value resolution.
-
-
Constructor Summary
Constructors Constructor Description ProcessingResultImpl(java.lang.String result, boolean modified, boolean fullyResolved)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getResult()
int
hashCode()
boolean
isFullyResolved()
boolean
isModified()
void
setFullyResolved(boolean fullyResolved)
void
setModified(boolean modified)
void
setResult(java.lang.String result)
java.lang.String
toString()
-
-
-
Method Detail
-
isModified
public boolean isModified()
- Specified by:
isModified
in interfaceProcessingResult
- Returns:
- true, if the value was modified in the course of resolution attempt.
-
getResult
@NotNull public java.lang.String getResult()
- Specified by:
getResult
in interfaceProcessingResult
- Returns:
- the value in the resolved form or the same as input value if isModified is false.
-
isFullyResolved
public boolean isFullyResolved()
- Specified by:
isFullyResolved
in interfaceProcessingResult
- Returns:
- true, if the value is fully resolved by the processor
-
setModified
public void setModified(boolean modified)
-
setResult
public void setResult(@NotNull java.lang.String result)
-
setFullyResolved
public void setFullyResolved(boolean fullyResolved)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-