Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
GenericArtifact[] artifacts = artifactManager.findGenericArtifacts(
    new GenericArtifactFilter() {
        public boolean matches(GenericArtifact genericArtifactartifact) throws GovernanceException {
            String attributeVal = artifact.getAttribute("EventName");
            return (attributeVal != null && attributeVal.equals("Running"));
        }
    });

...