Mercurial > hg > release > thermostat-0.7
view launcher/src/main/java/com/redhat/thermostat/launcher/internal/ExitStatusImpl.java @ 1021:8ea56b57334c
Make thermostat capable to return exit codes.
Reviewed-by: vanaltj, omajid
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-February/005932.html
author | Severin Gehwolf <sgehwolf@redhat.com> |
---|---|
date | Thu, 21 Feb 2013 16:00:50 +0100 |
parents | |
children | 3f0416e9db80 |
line wrap: on
line source
package com.redhat.thermostat.launcher.internal; import com.redhat.thermostat.common.ExitStatus; /** * @see {@link ExitStatus} * */ public class ExitStatusImpl implements ExitStatus { private int exitStatus; ExitStatusImpl(int initialExitStatus) { this.exitStatus = initialExitStatus; } public synchronized void setExitStatus(int newExitStatus) { this.exitStatus = newExitStatus; } public synchronized int getExitStatus() { return this.exitStatus; } }