| Class | Description |
|---|---|
| ClassNotSerializableAstVisitor | |
| ClassNotSerializableRule | Classes in Jenkins pipeline libraries and Jenkinsfiles should generally implement the Serializable interface because every expression/variable used in a CPS transformed method can potentially be serialized |
| ClosureInGStringAstVisitor | |
| ClosureInGStringRule | Closures are CPS transformed in Jenkins and will cause an error at runtime when used in GStrings. |
| CpsCallFromNonCpsMethodAstVisitor | |
| CpsCallFromNonCpsMethodRule | CPS transformed methods may not be called from non CPS transformed methods in Jenkins |
| ExpressionInCpsMethodNotSerializableAstVisitor | |
| ExpressionInCpsMethodNotSerializableRule | Every expression/variable in a CPS transformed method in Jenkins can potentially be serialized and should therefore implement the Serializable interface |
| ForbiddenCallInCpsMethodAstVisitor | |
| ForbiddenCallInCpsMethodRule | Some methods from the standard library cannot be CPS transformed and therefore must not be called from CPS transformed methods in Jenkins |
| JenkinsUtil | Common functionality for Jenkins rules |
| ObjectOverrideOnlyNonCpsMethods | Overridden methods of the standard library (e.g. from java.lang.Object) are often called from there and therefore must not be CPS transformed in Jenkins |
| ObjectOverrideOnlyNonCpsMethodsVisitor | |
| ParameterOrReturnTypeNotSerializableAstVisitor | |
| ParameterOrReturnTypeNotSerializableRule | Every parameter and return type has to implement the Serializable interface in Jenkins |