diff options
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/java/com/amadornes/artifactural/api/transform/ArtifactPipeline.java | 11 | ||||
-rw-r--r-- | src/api/java/com/amadornes/artifactural/api/transform/ArtifactTransformer.java | 5 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/api/java/com/amadornes/artifactural/api/transform/ArtifactPipeline.java b/src/api/java/com/amadornes/artifactural/api/transform/ArtifactPipeline.java deleted file mode 100644 index 014046f..0000000 --- a/src/api/java/com/amadornes/artifactural/api/transform/ArtifactPipeline.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.amadornes.artifactural.api.transform; - -import com.amadornes.artifactural.api.cache.ArtifactCache; - -public interface ArtifactPipeline extends ArtifactTransformer { - - ArtifactPipeline apply(ArtifactTransformer transformer); - - ArtifactPipeline cache(ArtifactCache cache, String specifier); - -} diff --git a/src/api/java/com/amadornes/artifactural/api/transform/ArtifactTransformer.java b/src/api/java/com/amadornes/artifactural/api/transform/ArtifactTransformer.java index e24e790..bfbb965 100644 --- a/src/api/java/com/amadornes/artifactural/api/transform/ArtifactTransformer.java +++ b/src/api/java/com/amadornes/artifactural/api/transform/ArtifactTransformer.java @@ -3,7 +3,6 @@ package com.amadornes.artifactural.api.transform; import com.amadornes.artifactural.api.artifact.Artifact; import com.amadornes.artifactural.api.artifact.ArtifactMetadata; -import java.util.Set; import java.util.function.UnaryOperator; public interface ArtifactTransformer { @@ -22,10 +21,6 @@ public interface ArtifactTransformer { }; } - static ArtifactTransformer exclude(Set<String> filters) { - return (ArtifactTransformer) new Object(); - } - default boolean appliesTo(Artifact artifact) { return true; } |