diff --git a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/LoopStatement.java b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/LoopStatement.java index c031450b94..0f85abe8f5 100644 --- a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/LoopStatement.java +++ b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/LoopStatement.java @@ -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 functionDependencies; private Set systemPropertyDependencies; diff --git a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/NavigationOptions.java b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/NavigationOptions.java index 2e06892b58..de7ae38ff5 100644 --- a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/NavigationOptions.java +++ b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/NavigationOptions.java @@ -19,6 +19,7 @@ */ public class NavigationOptions implements Serializable { + private static final long serialVersionUID = 1415809157458595126L; private String name; private long currStepId; private Map options; diff --git a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/ResultNavigation.java b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/ResultNavigation.java index fa1f939534..3ef14ae743 100644 --- a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/ResultNavigation.java +++ b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/ResultNavigation.java @@ -21,6 +21,7 @@ */ public class ResultNavigation implements Serializable { + private static final long serialVersionUID = 2041860995739656789L; private long nextStepId; private String presetResult; diff --git a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/RobotGroupStatement.java b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/RobotGroupStatement.java index ba4e174810..227764d6f0 100644 --- a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/RobotGroupStatement.java +++ b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/RobotGroupStatement.java @@ -19,6 +19,7 @@ public class RobotGroupStatement implements Serializable { + private static final long serialVersionUID = -6373545121361214121L; private final String expression; private final Set functionDependencies; private final Set systemPropertyDependencies; diff --git a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/SystemProperty.java b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/SystemProperty.java index 24f08a3216..b8e98de335 100644 --- a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/SystemProperty.java +++ b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/SystemProperty.java @@ -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; diff --git a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/WorkerGroupMetadata.java b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/WorkerGroupMetadata.java index 43e8931160..b01fef187e 100644 --- a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/WorkerGroupMetadata.java +++ b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/WorkerGroupMetadata.java @@ -14,6 +14,7 @@ public class WorkerGroupMetadata implements Serializable { + private static final long serialVersionUID = 100682360450405572L; private String value; private boolean override; diff --git a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/WorkerGroupStatement.java b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/WorkerGroupStatement.java index 5c042b0b7a..ddcde02c9d 100644 --- a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/WorkerGroupStatement.java +++ b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/WorkerGroupStatement.java @@ -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 functionDependencies; diff --git a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/Argument.java b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/Argument.java index 871d48122f..7ded856beb 100644 --- a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/Argument.java +++ b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/Argument.java @@ -21,6 +21,7 @@ */ public class Argument extends InOutParam { + private static final long serialVersionUID = 5295602668405254562L; private boolean privateArgument; private Prompt prompt; private boolean expression; diff --git a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/SensitiveStringValue.java b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/SensitiveStringValue.java index 8b100c29cf..1a3939906c 100644 --- a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/SensitiveStringValue.java +++ b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/SensitiveStringValue.java @@ -18,6 +18,8 @@ */ public class SensitiveStringValue extends SensitiveValue { + private static final long serialVersionUID = 1016328268790281844L; + @SuppressWarnings("unused") public SensitiveStringValue() { } diff --git a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/SensitiveValue.java b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/SensitiveValue.java index 3858f096b0..9bd2b5693f 100644 --- a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/SensitiveValue.java +++ b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/SensitiveValue.java @@ -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; @@ -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)); diff --git a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/SimpleValue.java b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/SimpleValue.java index f349a6fe64..b6568b83d1 100644 --- a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/SimpleValue.java +++ b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/SimpleValue.java @@ -19,6 +19,8 @@ */ public class SimpleValue implements Value { + private static final long serialVersionUID = 5050440514342724992L; + private Serializable content; @SuppressWarnings("unused") diff --git a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/ValueFactory.java b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/ValueFactory.java index 49e5dd0156..d63a6eccb6 100644 --- a/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/ValueFactory.java +++ b/cloudslang-entities/src/main/java/io/cloudslang/lang/entities/bindings/values/ValueFactory.java @@ -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); }