Package com.auth0.json.mgmt.actions
Class Dependency
java.lang.Object
com.auth0.json.mgmt.actions.Dependency
Represents an Action's dependencies.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new dependencyDependency
(String name, String version) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
Sets the name of this dependency.void
setRegistryUrl
(String registryUrl) Sets the registry URL of this dependency.void
setVersion
(String version) Sets the version of this dependency.
-
Constructor Details
-
Dependency
Creates a new instance.- Parameters:
name
- the name of this dependency, e.g., "lodash"version
- the version of this dependency, e.g., 4.17.1
-
Dependency
public Dependency()Creates a new dependency
-
-
Method Details
-
getName
- Returns:
- the name of this dependency.
-
setName
Sets the name of this dependency.- Parameters:
name
- the name of this dependency, e.g., "lodash"
-
getVersion
- Returns:
- the version of this dependency.
-
setVersion
Sets the version of this dependency.- Parameters:
version
- the version of this dependency, e.g., 4.17.1
-
getRegistryUrl
- Returns:
- the registry URL of this dependency.
-
setRegistryUrl
Sets the registry URL of this dependency. This is optional, and primarily used for private npm modules.- Parameters:
registryUrl
- the registry URL of this dependency.
-