Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added serialVersionUID #1325

Merged
merged 1 commit into from
Sep 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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