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

Implement Describable from Script, not AbstractScript #406

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jglick
Copy link
Member

@jglick jglick commented Jan 13, 2025

Since this is used as the declared type of a nested field in higher Describables,

@DataBoundConstructor
public CascadeChoiceParameter(String name, String description, String randomName, Script script,
for example, it is mandatory to show that it is Describable.

@jglick jglick requested a review from a team as a code owner January 13, 2025 15:27

/*
* Serial UID.
*/
private static final long serialVersionUID = 4027103576278802323L;

// TODO could be pulled up into Script (default method);
// in fact this intermediate type could probably be deleted
// (assuming there is no Java serialization outside of Remoting,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Serial form compatibility for types used in Remoting is irrelevant, since the agent always runs the same bytecode as the controller.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant