Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Classes
  • Annotation Interfaces
  • Methods
  • Constructors
  • Deprecated Classes
    Class
    Description
    org.jenkinsci.plugins.workflow.steps.AbstractStepDescriptorImpl
    Directly extend StepDescriptor and avoid Guice.
    org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution
    Extend SynchronousNonBlockingStepExecution and avoid Guice.
    org.jenkinsci.plugins.workflow.steps.AbstractSynchronousStepExecution
    Extend SynchronousStepExecution and avoid Guice.
    org.jenkinsci.plugins.workflow.structs.DescribableHelper
    Moved to the structs plugin. See DescribableModel
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    org.jenkinsci.plugins.workflow.steps.StepContextParameter
    Call StepContext.get(java.lang.Class<T>) as needed and avoid Guice.
  • Deprecated Methods
    Method
    Description
    org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl.inject()
    org.jenkinsci.plugins.workflow.steps.BodyExecution.cancel(boolean)
    use BodyExecution.cancel(Throwable) to provide richer context
    org.jenkinsci.plugins.workflow.steps.BodyExecution.cancel(CauseOfInterruption...)
    use BodyExecution.cancel(Throwable) with FlowInterruptedException
    org.jenkinsci.plugins.workflow.steps.BodyInvoker.withCallback(FutureCallback<Object>)
    Use BodyInvoker.withCallback(BodyExecutionCallback) and call BodyExecutionCallback.wrap(com.google.common.util.concurrent.FutureCallback<java.lang.Object>) if this is what you really wanted.
    org.jenkinsci.plugins.workflow.steps.EnvironmentExpander.getEffectiveEnvironment(EnvVars, EnvVars, EnvironmentExpander)
    Use EnvironmentExpander.getEffectiveEnvironment(EnvVars, EnvVars, EnvironmentExpander, StepContext, TaskListener) to allow StepEnvironmentContributors to run.
    org.jenkinsci.plugins.workflow.steps.StepDescriptor.defineArguments(Step)
    Use StepDescriptor.uninstantiate(Step)
    org.jenkinsci.plugins.workflow.steps.StepDescriptor.newInstance(Map<String, Object>)
    instead use CustomDescribableModel
    org.jenkinsci.plugins.workflow.steps.StepDescriptor.uninstantiate(Step)
    instead use CustomDescribableModel
    org.jenkinsci.plugins.workflow.steps.StepExecution.applyAll(Function<StepExecution, Void>)
    use StepExecution.acceptAll(Consumer)
    org.jenkinsci.plugins.workflow.steps.StepExecution.applyAll(Class<T>, Function<T, Void>)
    use StepExecution.acceptAll(Class, Consumer)
    org.jenkinsci.plugins.workflow.steps.StepExecutionIterator.apply(Function<StepExecution, Void>)
    use StepExecutionIterator.accept(java.util.function.Consumer<org.jenkinsci.plugins.workflow.steps.StepExecution>)
  • Deprecated Constructors
    Constructor
    Description
    org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl()
    Directly extend StepExecution and avoid Guice for a new step. Or see AbstractStepExecutionImpl(StepContext) for an existing step.
    org.jenkinsci.plugins.workflow.steps.AbstractStepImpl()
    Directly extend Step and avoid Guice. Or see AbstractStepImpl(boolean) for an existing step.
    org.jenkinsci.plugins.workflow.steps.FlowInterruptedException(Result, CauseOfInterruption...)
    use FlowInterruptedException(Result, boolean, CauseOfInterruption...)
    org.jenkinsci.plugins.workflow.steps.MissingContextVariableException(Class<?>)
    use MissingContextVariableException(Class, StepDescriptor)
    org.jenkinsci.plugins.workflow.steps.StepExecution()
    Avoid Guice.
    org.jenkinsci.plugins.workflow.steps.SynchronousResumeNotSupportedException()
    Use SynchronousResumeNotSupportedException(StepContext) instead.

Copyright © 2016–2025. All rights reserved.