Package com.devonfw.cobigen.cli.commands
Class UpdateCommand
- java.lang.Object
-
- com.devonfw.cobigen.cli.commands.UpdateCommand
-
-
Constructor Summary
Constructors Constructor Description UpdateCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integercall()voidprintOutdatedPlugin(List<org.apache.maven.model.Dependency> localPomDependencies, List<String> centralMavenVersionList, HashMap<String,String> updatePluginVersions, HashMap<Integer,String> listOfArtifacts)This method printing the outdated plug-insvoidupdateOutdatedPlugins(List<org.apache.maven.model.Dependency> localPomDependencies, HashMap<Integer,String> listOfArtifacts, List<String> centralMavenVersionList, org.apache.maven.model.Model model, ArrayList<String> userInputPluginForUpdate)This method updating the outdated plug-ins
-
-
-
Method Detail
-
printOutdatedPlugin
public void printOutdatedPlugin(List<org.apache.maven.model.Dependency> localPomDependencies, List<String> centralMavenVersionList, HashMap<String,String> updatePluginVersions, HashMap<Integer,String> listOfArtifacts)
This method printing the outdated plug-ins- Parameters:
localPomDependencies- This parameter hold the artificial dependenciescentralMavenVersionList- This parameter hold version listupdatePluginVersions- This parameter contain the key ,value pair of versionlistOfArtifacts- this hold list of artifact id which is need to update
-
updateOutdatedPlugins
public void updateOutdatedPlugins(List<org.apache.maven.model.Dependency> localPomDependencies, HashMap<Integer,String> listOfArtifacts, List<String> centralMavenVersionList, org.apache.maven.model.Model model, ArrayList<String> userInputPluginForUpdate)
This method updating the outdated plug-ins- Parameters:
localPomDependencies- This is hold the dependencies of artificial pomlistOfArtifacts- This parameter hold the value of updated plug-ins versioncentralMavenVersionList- This parameter hold version listmodel- This parameter hold the after pom file reader dependenciesuserInputPluginForUpdate- This is hold user input for update plug-ins
-
-