< prev index next >
core/JemmyCore/src/org/jemmy/action/GetAction.java
Print this page
*** 28,71 ****
import org.jemmy.env.Environment;
/**
* An action to get some value.
! * @param <T>
* @author shura
*/
public abstract class GetAction<T> extends Action {
private boolean finished = false;
private T result = null;
- /**
- *
- */
public GetAction() {
}
- /**
- *
- * @return
- */
public boolean isFinished() {
return finished;
}
- /**
- *
- * @return
- */
public T getResult() {
return result;
}
- /**
- *
- * @param result
- */
protected void setResult(T result) {
this.result = result;
finished = true;
}
--- 28,56 ----
import org.jemmy.env.Environment;
/**
* An action to get some value.
! *
* @author shura
*/
public abstract class GetAction<T> extends Action {
private boolean finished = false;
private T result = null;
public GetAction() {
}
public boolean isFinished() {
return finished;
}
public T getResult() {
return result;
}
protected void setResult(T result) {
this.result = result;
finished = true;
}
< prev index next >