mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 14:32:22 +00:00
Also need @DataBoundConstructor annotated constructors
This commit is contained in:
1 parent
02336bb246
commit
554e087a0a
1 file changed
+10
@@ -29,6 +29,7 @@ import hudson.ExtensionPoint;
|
||||
import hudson.model.AbstractDescribableImpl;
|
||||
import hudson.util.CaseInsensitiveComparator;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.kohsuke.stapler.DataBoundConstructor;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.util.Comparator;
|
||||
@@ -138,6 +139,9 @@ public abstract class IdStrategy extends AbstractDescribableImpl<IdStrategy> imp
|
||||
*/
|
||||
public static class CaseInsensitive extends IdStrategy {
|
||||
|
||||
@DataBoundConstructor
|
||||
public CaseInsensitive() {}
|
||||
|
||||
@Override
|
||||
@Nonnull
|
||||
public String filenameOf(@Nonnull String id) {
|
||||
@@ -178,6 +182,9 @@ public abstract class IdStrategy extends AbstractDescribableImpl<IdStrategy> imp
|
||||
*/
|
||||
public static class CaseSensitive extends IdStrategy {
|
||||
|
||||
@DataBoundConstructor
|
||||
public CaseSensitive() {}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@@ -255,6 +262,9 @@ public abstract class IdStrategy extends AbstractDescribableImpl<IdStrategy> imp
|
||||
*/
|
||||
public static class CaseSensitiveEmailAddress extends CaseSensitive {
|
||||
|
||||
@DataBoundConstructor
|
||||
public CaseSensitiveEmailAddress() {}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user