Class Locals
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
io.jenkins.plugins.dotnet.commands.Command
io.jenkins.plugins.dotnet.commands.nuget.NuGetCommand
io.jenkins.plugins.dotnet.commands.nuget.Locals
- All Implemented Interfaces:
 ExtensionPoint,Describable<Builder>,BuildStep,SimpleBuildStep
A build step to run "
dotnet nuget locals", listing or clearing one or more local package stores.- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA descriptor for "dotnet nuget locals" build steps.Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory - 
Field Summary
Fields inherited from class io.jenkins.plugins.dotnet.commands.nuget.NuGetCommand
forceEnglishOutputFields inherited from class io.jenkins.plugins.dotnet.commands.Command
sdk, showSdkInfo, shutDownBuildServers, unstableIfErrors, unstableIfWarnings, workDirectoryFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds command line arguments for this .NET NuGet command invocation.Gets the cache location to operate on.Gets the operation to apply.voidsetCacheLocation(String cacheLocation) Sets the cache location to operate on.voidsetOperation(String operation) Sets the operation to apply.Methods inherited from class io.jenkins.plugins.dotnet.commands.nuget.NuGetCommand
isForceEnglishOutput, setForceEnglishOutputMethods inherited from class io.jenkins.plugins.dotnet.commands.Command
getCharset, getDescriptor, getSdk, getSdkDescriptor, getWorkDirectory, isContinueOnError, isShowSdkInfo, isSpecificSdkVersion, perform, setCharset, setContinueOnError, setSdk, setShowSdkInfo, setSpecificSdkVersion, setWorkDirectoryMethods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace 
- 
Constructor Details
- 
Locals
@DataBoundConstructor public Locals()Creates a new "dotnet nuget locals" build step. 
 - 
 - 
Method Details
- 
addCommandLineArguments
Description copied from class:NuGetCommandAdds command line arguments for this .NET NuGet command invocation.This adds:
nuget- The sub-command (e.g. 
push), if applicable. --force-english-output, if requested viaNuGetCommand.setForceEnglishOutput(boolean).
- Overrides:
 addCommandLineArgumentsin classNuGetCommand- Parameters:
 args- The current set of arguments.- Throws:
 AbortException- When something goes wrong.
 - 
getCacheLocation
Gets the cache location to operate on.This can be one of:
- "global-packages": the global package cache
 - "http-cache": the cache used for HTTP responses
 - "temp": temporary storage
 - "all": all of the above
 
- Returns:
 - The cache location to operate on.
 
 - 
setCacheLocation
Sets the cache location to operate on.- Parameters:
 cacheLocation- The cache location to operate on; this can be one of:- "global-packages": the global package cache
 - "http-cache": the cache used for HTTP responses
 - "temp": temporary storage
 - "all": all of the above
 
 - 
getOperation
Gets the operation to apply.This can be one of:
- "clear": clears the contents of the cache location
 - "list": shows the path to the cache location
 
- Returns:
 - The operation to apply.
 
 - 
setOperation
Sets the operation to apply.- Parameters:
 operation- The operation to apply; this can be one of:- "clear": clears the contents of the cache location
 - "list": shows the path to the cache location
 
 
 -