org.jenkinsci.plugins.deploy.weblogic
Class WeblogicDeploymentPlugin

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by org.jenkinsci.plugins.deploy.weblogic.WeblogicDeploymentPlugin
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class WeblogicDeploymentPlugin
extends hudson.tasks.Recorder

Author:
rchaumie

Nested Class Summary
static class WeblogicDeploymentPlugin.HudsonWeblogicDeploymentPluginDescriptor
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
static String DEFAULT_JAVA_OPTIONS_DEPLOYER
           
static String NON_DEPLOYMENT_STRATEGY_VALUE_SPECIFIED
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
WeblogicDeploymentPlugin(String weblogicEnvironmentTargetedName, String deploymentName, String deploymentTargets, boolean isLibrary, boolean mustExitOnFailure, List<String> selectedDeploymentStrategyIds, String deployedProjectsDependencies, boolean isDeployingOnlyWhenUpdates)
           
 
Method Summary
 String getDeployedProjectsDependencies()
           
static File getDeploymentLogFile(hudson.model.AbstractBuild<?,?> build)
           
 String getDeploymentName()
           
 String getDeploymentTargets()
           
 WeblogicDeploymentPlugin.HudsonWeblogicDeploymentPluginDescriptor getDescriptor()
           
 boolean getIsDeployingOnlyWhenUpdates()
           
 boolean getIsLibrary()
           
 boolean getMustExitOnFailure()
           
 hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 List<String> getSelectedDeploymentStrategyIds()
           
 String getWeblogicEnvironmentTargetedName()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 void setDeployingOnlyWhenUpdates(boolean isDeployingOnlyWhenUpdates)
           
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectActions, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectActions, prebuild
 

Field Detail

NON_DEPLOYMENT_STRATEGY_VALUE_SPECIFIED

public static final transient String NON_DEPLOYMENT_STRATEGY_VALUE_SPECIFIED
See Also:
Constant Field Values

DEFAULT_JAVA_OPTIONS_DEPLOYER

public static final transient String DEFAULT_JAVA_OPTIONS_DEPLOYER
See Also:
Constant Field Values
Constructor Detail

WeblogicDeploymentPlugin

@DataBoundConstructor
public WeblogicDeploymentPlugin(String weblogicEnvironmentTargetedName,
                                                     String deploymentName,
                                                     String deploymentTargets,
                                                     boolean isLibrary,
                                                     boolean mustExitOnFailure,
                                                     List<String> selectedDeploymentStrategyIds,
                                                     String deployedProjectsDependencies,
                                                     boolean isDeployingOnlyWhenUpdates)
Method Detail

getWeblogicEnvironmentTargetedName

public String getWeblogicEnvironmentTargetedName()
Returns:

getDeploymentName

public String getDeploymentName()
Returns:

getDeploymentTargets

public String getDeploymentTargets()
Returns:

getIsLibrary

public boolean getIsLibrary()
Returns:

getMustExitOnFailure

public boolean getMustExitOnFailure()
Returns:

getSelectedDeploymentStrategyIds

public List<String> getSelectedDeploymentStrategyIds()
Returns:
the selectedDeploymentStrategyIds

getDeployedProjectsDependencies

public String getDeployedProjectsDependencies()
Returns:
the deployedProjectsDependencies

getIsDeployingOnlyWhenUpdates

public boolean getIsDeployingOnlyWhenUpdates()
Returns:
the isDeployingOnlyWhenUpdates

setDeployingOnlyWhenUpdates

public void setDeployingOnlyWhenUpdates(boolean isDeployingOnlyWhenUpdates)
Parameters:
isDeployingOnlyWhenUpdates - the isDeployingOnlyWhenUpdates to set

getProjectAction

public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
Specified by:
getProjectAction in interface hudson.tasks.BuildStep
Overrides:
getProjectAction in class hudson.tasks.BuildStepCompatibilityLayer

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
InterruptedException
IOException

getDescriptor

public WeblogicDeploymentPlugin.HudsonWeblogicDeploymentPluginDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Recorder

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

getDeploymentLogFile

public static File getDeploymentLogFile(hudson.model.AbstractBuild<?,?> build)
Parameters:
build -
Returns:


Copyright © 2004-2012. All Rights Reserved.