-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e426fcf
commit d203db8
Showing
8 changed files
with
191 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
src/main/java/org/jenkinsci/plugins/jvctb/config/IgnorePath.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package org.jenkinsci.plugins.jvctb.config; | ||
|
||
import edu.umd.cs.findbugs.annotations.NonNull; | ||
import hudson.Extension; | ||
import hudson.model.AbstractDescribableImpl; | ||
import hudson.model.Descriptor; | ||
import java.io.Serializable; | ||
import org.kohsuke.stapler.DataBoundConstructor; | ||
|
||
public class IgnorePath extends AbstractDescribableImpl<IgnorePath> implements Serializable { | ||
private static final long serialVersionUID = -6308067752266925L; | ||
private String path; | ||
|
||
public IgnorePath() {} | ||
|
||
@DataBoundConstructor | ||
public IgnorePath(final String path) { | ||
this.path = path; | ||
} | ||
|
||
public String getPath() { | ||
return this.path; | ||
} | ||
|
||
@Extension | ||
public static class DescriptorImpl extends Descriptor<IgnorePath> { | ||
@NonNull | ||
@Override | ||
public String getDisplayName() { | ||
return "Ignore path"; | ||
} | ||
} | ||
} |
Oops, something went wrong.