diff options
author | Amadornes <amadornes@gmail.com> | 2018-08-19 00:16:53 +0200 |
---|---|---|
committer | Amadornes <amadornes@gmail.com> | 2018-08-19 00:16:53 +0200 |
commit | dcf33551be719282d7569e6c0c48011a8275b543 (patch) | |
tree | 503f96626657cfefbcc42601fbdb634f7d7b7dca /src/api | |
parent | c266c1320597fb1385547a4ad8384b74231b96ca (diff) | |
download | Artifactural-dcf33551be719282d7569e6c0c48011a8275b543.tar.gz Artifactural-dcf33551be719282d7569e6c0c48011a8275b543.tar.bz2 Artifactural-dcf33551be719282d7569e6c0c48011a8275b543.zip |
Remove artifact pipelines and exclusive transformers
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; } |