Enum PackageProvider
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum PackageProvider extends Enum<PackageProvider>
The provider / hosting platform of a remote artifact or Version Control System. These are basically human-readable aliases for different URLs that may point to the same provider. Note that different providers might host different artifacts under the same Identifier. So if in question, the provider must be given in addition to the Identifier.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPackageProvider.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<PackageProvider>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description COCOAPODSCRATES_IODEBIANGITHUBGITLABGOLANGGRADLE_PLUGINMAVEN_CENTRALMAVEN_GOOGLENPM_JSNUGETPACKAGISTPYPIRUBYGEMSANDROIDAPACHE_GITAPACHE_SUBVERSIONBITBUCKETGOOGLE_CODEHACKAGEHASKELLJCENTERJENKINSJITPACK
-
Method Summary
Modifier and Type Method Description final PackageProvidervalueOf(String value)Returns the enum constant of this type with the specified name. final Array<PackageProvider>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<PackageProvider>getEntries()The provider / hosting platform of a remote artifact or Version Control System. -
-
Method Detail
-
valueOf
final PackageProvider valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<PackageProvider> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<PackageProvider> getEntries()
The provider / hosting platform of a remote artifact or Version Control System. These are basically human-readable aliases for different URLs that may point to the same provider. Note that different providers might host different artifacts under the same Identifier. So if in question, the provider must be given in addition to the Identifier.
-
-
-
-