Package org.sonar.api.issue.condition

Examples of org.sonar.api.issue.condition.HasResolution


        // Reopen issues that are marked as resolved but that are still alive.
        // Manual issues are kept resolved.
      .transition(Transition.builder("automaticreopen")
        .from(Issue.STATUS_RESOLVED).to(Issue.STATUS_REOPENED)
        .conditions(new IsEndOfLife(false), new HasResolution(Issue.RESOLUTION_FIXED), new IsManual(false))
        .functions(new SetResolution(null), new SetCloseDate(false))
        .automatic()
        .build()
      );
  }
View Full Code Here

TOP

Related Classes of org.sonar.api.issue.condition.HasResolution

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.