Class ProcessingResultImpl
- java.lang.Object
-
- jetbrains.buildServer.parameters.impl.ProcessingResultImpl
-
- All Implemented Interfaces:
ProcessingResult
public class ProcessingResultImpl extends Object implements ProcessingResult
Stores the result of a value resolution.
-
-
Constructor Summary
Constructors Constructor Description ProcessingResultImpl(String result, boolean modified, boolean fullyResolved)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getResult()
int
hashCode()
boolean
isFullyResolved()
boolean
isModified()
void
setFullyResolved(boolean fullyResolved)
void
setModified(boolean modified)
void
setResult(String result)
String
toString()
-
-
-
Constructor Detail
-
ProcessingResultImpl
public ProcessingResultImpl(@NotNull String result, boolean modified, boolean fullyResolved)
-
-
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 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 String result)
-
setFullyResolved
public void setFullyResolved(boolean fullyResolved)
-
-