jetbrains.buildServer.parameters.impl
Class ProcessingResultImpl

java.lang.Object
  extended by 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
ProcessingResultImpl(java.lang.String result, boolean modified, boolean fullyResolved)
           
 
Method Summary
 java.lang.String getResult()
           
 boolean isFullyResolved()
           
 boolean isModified()
           
 void setFullyResolved(boolean fullyResolved)
           
 void setModified(boolean modified)
           
 void setResult(java.lang.String result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessingResultImpl

public ProcessingResultImpl(@NotNull
                            java.lang.String result,
                            boolean modified,
                            boolean fullyResolved)
Method Detail

isModified

public boolean isModified()
Specified by:
isModified in interface ProcessingResult
Returns:
true, if the value was modified in the course of resolution attempt.

getResult

@NotNull
public java.lang.String getResult()
Specified by:
getResult in interface ProcessingResult
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 interface ProcessingResult
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)