mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-21 15:55:40 +00:00
[FIXED HUDSON-7299] export just LabelAtomProperty objs, not DescribableList which
is not exportable, and was generating errors in remote API. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34310 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
be99bd1afb
commit
38fffda5ea
1 file changed
+5
-1
@@ -125,11 +125,15 @@ public class LabelAtom extends Label implements Saveable {
|
||||
/**
|
||||
* Properties associated with this label.
|
||||
*/
|
||||
@Exported
|
||||
public DescribableList<LabelAtomProperty, LabelAtomPropertyDescriptor> getProperties() {
|
||||
return properties;
|
||||
}
|
||||
|
||||
@Exported
|
||||
public List<LabelAtomProperty> getPropertiesList() {
|
||||
return properties.toList();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(VariableResolver<Boolean> resolver) {
|
||||
return resolver.resolve(name);
|
||||
|
||||
Reference in new issue
Block a user