@Override protected void create(Process proc) { super.create(proc); // Validate InputSets for (InputSet inSet : inputSets) { int artSize = inSet.getArtifactInputs().size(); int propSize = inSet.getProperties().size(); if (artSize == 0 && propSize == 0) { throw new InvalidProcessException( "For the combination of ArtifactInputs and PropertyInputs, there MUST be at least one item defined for the InputSet"); } } // Validate OutputSets for (OutputSet outSet : outputSets) { int artSize = outSet.getArtifactOutputs().size(); int propSize = outSet.getProperties().size(); if (artSize == 0 && propSize == 0) { throw new InvalidProcessException( "For the combination of ArtifactOutputs and PropertyOututs, there MUST be at least one item defined for the OutputSet"); } } } }
for (Property prop : auxSet.getProperties()) for (Property prop : auxSet.getProperties())
for (Property prop : inSet.getProperties())