kohsuke committed 2009-02-09 19:35:49 +00:00
1 parent d980d5d4af
commit 8288bd5bba
1 file changed
+4
@@ -184,6 +184,10 @@ public abstract class Slave implements Node, Serializable {
return mode;
}
public void setMode(Mode mode) {
this.mode = mode;
}
public RetentionStrategy getRetentionStrategy() {
return retentionStrategy == null ? RetentionStrategy.Always.INSTANCE : retentionStrategy;
}