Class WorkspaceApplicationVersion
- java.lang.Object
-
- io.jenkins.plugins.servicenow.application.WorkspaceApplicationVersion
-
- All Implemented Interfaces:
ApplicationVersion
public class WorkspaceApplicationVersion extends Object implements ApplicationVersion
-
-
Constructor Summary
Constructors Constructor Description WorkspaceApplicationVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetVersion(String workspaceDir, String sysId, String scope)Get version of the application defined by sysId or scopeId.
-
-
-
Method Detail
-
getVersion
public String getVersion(String workspaceDir, String sysId, String scope)
Description copied from interface:ApplicationVersionGet version of the application defined by sysId or scopeId.- Specified by:
getVersionin interfaceApplicationVersion- Parameters:
workspaceDir- Target place where the application version can be taken from (path to app project in source control, url of a repository, or other)sysId- Sys ID of the application. You can locate this value in the Sys ID field in the Custom Application [sys_app] table.scope- The scope name of the application, such as x_aah_custom_app. You can locate this value in the scope field in the Custom Application [sys_app] table.- Returns:
- Version of the application.
-
-