Skip to content

Commit

Permalink
added serialVersionUID (#1325)
Browse files Browse the repository at this point in the history
Co-authored-by: Ciprian Duma <[email protected]>
  • Loading branch information
cid77 and Ciprian Duma authored Sep 13, 2021
1 parent fc509dd commit 83be951
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* @author Bonczidai Levente
*/
public abstract class LoopStatement implements Serializable {
private static final long serialVersionUID = 3563394747445675409L;
private final String expression;
private Set<ScriptFunction> functionDependencies;
private Set<String> systemPropertyDependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/
public class NavigationOptions implements Serializable {

private static final long serialVersionUID = 1415809157458595126L;
private String name;
private long currStepId;
private Map<String, Serializable> options;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/
public class ResultNavigation implements Serializable {

private static final long serialVersionUID = 2041860995739656789L;
private long nextStepId;
private String presetResult;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

public class RobotGroupStatement implements Serializable {

private static final long serialVersionUID = -6373545121361214121L;
private final String expression;
private final Set<ScriptFunction> functionDependencies;
private final Set<String> systemPropertyDependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
*/
public class SystemProperty implements Serializable {

private static final long serialVersionUID = 109869983897626061L;
private final String namespace;
private final String fullyQualifiedName;
private final Value value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

public class WorkerGroupMetadata implements Serializable {

private static final long serialVersionUID = 100682360450405572L;
private String value;
private boolean override;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

public class WorkerGroupStatement implements Serializable {

private static final long serialVersionUID = -4811273001193667018L;
private final String expression;
private final boolean override;
private final Set<ScriptFunction> functionDependencies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/
public class Argument extends InOutParam {

private static final long serialVersionUID = 5295602668405254562L;
private boolean privateArgument;
private Prompt prompt;
private boolean expression;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
*/
public class SensitiveStringValue extends SensitiveValue {

private static final long serialVersionUID = 1016328268790281844L;

@SuppressWarnings("unused")
public SensitiveStringValue() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
*/
public class SensitiveValue implements Value {

private static final long serialVersionUID = -1494652686913646816L;

public static final String SENSITIVE_VALUE_MASK = "********";

private String content = null;
Expand Down Expand Up @@ -116,6 +118,14 @@ public void setContent(String content) {
this.content = content;
}

public Serializable getOriginalContent() {
return originalContent;
}

public SensitivityLevel getSensitivityLevel() {
return sensitivityLevel;
}

@Override
public Serializable get() {
return (originalContent != null) ? originalContent : ((content == null) ? null : decrypt(content));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*/
public class SimpleValue implements Value {

private static final long serialVersionUID = 5050440514342724992L;

private Serializable content;

@SuppressWarnings("unused")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
*/
public abstract class ValueFactory implements Serializable {

private static final long serialVersionUID = 2022710429263189391L;

public static Value create(Serializable content) {
return create(content, false);
}
Expand Down

0 comments on commit 83be951

Please sign in to comment.