[Dive4elements-commits] [PATCH 2 of 4] CollectionAttribute: New function to check if out exists
Wald Commits
scm-commit at wald.intevation.org
Thu Jan 31 09:22:57 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1359620917 -3600
# Node ID 5cb8e941da1ef9b6dda2d4cae56842be2c1e0f8e
# Parent c30771dbf1bd2064aa29525ead880890ce34690e
CollectionAttribute: New function to check if out exists.
diff -r c30771dbf1bd -r 5cb8e941da1e flys-artifacts/src/main/java/de/intevation/flys/collections/CollectionAttribute.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/collections/CollectionAttribute.java Thu Jan 31 09:28:18 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/collections/CollectionAttribute.java Thu Jan 31 09:28:37 2013 +0100
@@ -170,6 +170,10 @@
return doc;
}
+ /** True if output with outputName is found. */
+ public boolean hasOutput(String outputName) {
+ return getOutput(outputName) != null;
+ }
public Map<String, Output> getOutputs() {
return outputMap;
More information about the Dive4elements-commits
mailing list