Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove beta restrictions #30

Merged
merged 2 commits into from
Sep 25, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/main/java/io/jenkins/plugins/checks/api/ChecksAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@
import edu.umd.cs.findbugs.annotations.CheckForNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.Beta;

/**
* An action of a check. It can be used to create actions like re-run or automatic formatting.
*/
@Restricted(Beta.class)
public class ChecksAction {
private final String label;
private final String description;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@

import java.util.Optional;

import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.Beta;

import static java.util.Objects.*;

/**
* An annotation for specific lines of code.
*/
@Restricted(Beta.class)
@SuppressWarnings("PMD.DataClass")
public class ChecksAnnotation {
private final String path;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
package io.jenkins.plugins.checks.api;

import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.Beta;

/**
* Conclusion for a specific check. One of the conclusions (except the {@link ChecksConclusion#NONE}, which is used to
* represent "no conclusion yet") should be provided when the {@link ChecksStatus} of a check is set to
* {@link ChecksStatus#COMPLETED}.
*/
@Restricted(Beta.class)
public enum ChecksConclusion {
NONE, ACTION_REQUIRED, SKIPPED, CANCELED, TIME_OUT, FAILURE, NEUTRAL, SUCCESS
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@
import java.util.List;
import java.util.Optional;

import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.Beta;

import static java.util.Objects.requireNonNull;

/**
* Details of a check. This class is a top class which contains all parameters needed for a check.
*/
@Restricted(Beta.class)
@SuppressWarnings("PMD.DataClass")
public class ChecksDetails {
private final String name;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/io/jenkins/plugins/checks/api/ChecksImage.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@
import edu.umd.cs.findbugs.annotations.CheckForNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.Beta;

/**
* An image of a check. Users may use a image to show the code coverage, issues trend, etc.
*/
@Restricted(Beta.class)
@SuppressWarnings("PMD.DataClass")
public class ChecksImage {
private final String alt;
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/io/jenkins/plugins/checks/api/ChecksOutput.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@
import java.util.List;
import java.util.Optional;

import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.Beta;

import static java.util.Objects.*;

/**
* An output of a check. The output usually contains the most useful information like summary, description,
* annotations, etc.
*/
@Restricted(Beta.class)
public class ChecksOutput {
private final String title;
private final String summary;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@
import hudson.model.Job;
import hudson.model.TaskListener;
import io.jenkins.plugins.util.PluginLogger;
import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.Beta;

/**
* A general publisher for publishing checks to different platforms.
*/
@Restricted(Beta.class)
public abstract class ChecksPublisher {
/**
* Publishes checks to platforms.
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/io/jenkins/plugins/checks/api/ChecksStatus.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
package io.jenkins.plugins.checks.api;

import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.Beta;

/**
* Status for a specific check.
*/
@Restricted(Beta.class)
public enum ChecksStatus {
NONE, QUEUED, IN_PROGRESS, COMPLETED
}