summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/virtualization/configuration/transformation/TransformationGeneric.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/openslx/virtualization/configuration/transformation/TransformationGeneric.java')
-rw-r--r--src/main/java/org/openslx/virtualization/configuration/transformation/TransformationGeneric.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/virtualization/configuration/transformation/TransformationGeneric.java b/src/main/java/org/openslx/virtualization/configuration/transformation/TransformationGeneric.java
new file mode 100644
index 0000000..4ad36c7
--- /dev/null
+++ b/src/main/java/org/openslx/virtualization/configuration/transformation/TransformationGeneric.java
@@ -0,0 +1,25 @@
+package org.openslx.virtualization.configuration.transformation;
+
+/**
+ * Represents a generic transformation that transforms (alters) a given configuration with specified
+ * input arguments. The generic transformation does not depend on any external states of a
+ * virtualizer.
+ *
+ * @author Manuel Bentele
+ * @version 1.0
+ *
+ * @param <T> type of the configuration which will be transformed.
+ * @param <R> type of input arguments for the transformation.
+ */
+public abstract class TransformationGeneric<T, R> extends Transformation<T, R>
+{
+ /**
+ * Create a generic transformation.
+ *
+ * @param name comprehensible name for the transformation.
+ */
+ public TransformationGeneric( String name )
+ {
+ super( name );
+ }
+}