fix: better save logic
This commit is contained in:
committed by
Sheepit Renderfarm
parent
bd3fc92634
commit
87ff09d5e5
19
src/com/sheepit/client/Option.java
Normal file
19
src/com/sheepit/client/Option.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package com.sheepit.client;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class Option<T> {
|
||||
private T value;
|
||||
private boolean isLaunchCommand;
|
||||
private String launchFlag;
|
||||
|
||||
public Option(T value, @NotNull String launchFlag) {
|
||||
this.value = value;
|
||||
this.launchFlag = launchFlag;
|
||||
this.isLaunchCommand = false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user