Class NullActivityProgress
- java.lang.Object
-
- jetbrains.buildServer.backgroundTasks.NullActivityProgress
-
- All Implemented Interfaces:
ActivityProgress
public class NullActivityProgress extends Object implements ActivityProgress
Created by IntelliJ IDEA. User: kir Date: Oct 29, 2008
-
-
Constructor Summary
Constructors Constructor Description NullActivityProgress()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckCanceled()This method checks if underlying process should be cancelled without completion.voidsetFraction(float completed)Allows to set the completion of the task (should be between 0 and 1 inclusive)voidsetProgressText(String progressText)Set current progress text
-
-
-
Method Detail
-
setFraction
public void setFraction(float completed)
Description copied from interface:ActivityProgressAllows to set the completion of the task (should be between 0 and 1 inclusive)- Specified by:
setFractionin interfaceActivityProgress- Parameters:
completed- number 0..1 to specify completed percent
-
setProgressText
public void setProgressText(String progressText)
Description copied from interface:ActivityProgressSet current progress text- Specified by:
setProgressTextin interfaceActivityProgress- Parameters:
progressText- short description of the current operation
-
checkCanceled
public void checkCanceled()
Description copied from interface:ActivityProgressThis method checks if underlying process should be cancelled without completion. It should be checked periodically during the action run.- Specified by:
checkCanceledin interfaceActivityProgress
-
-