Move src files to standard java folder structure
This commit is contained in:
19
src/main/java/com/sheepit/client/Option.java
Normal file
19
src/main/java/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