Package net.kyori.indra.api.model
Interface SourceCodeManagement
-
@Immutable public interface SourceCodeManagementSCM metadata information.- Since:
- 2.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSourceCodeManagement.BuilderA builder forSourceCodeManagementinstances.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static @NotNull SourceCodeManagement.Builderbuilder()Create a new builder forSourceCodeManagementinstances.@NotNull Stringconnection()Get a read-only access to the project's repository.@NotNull StringdeveloperConnection()Get a read-write access to the project's repository.@NotNull Stringurl()Get a web URL to view this project's repository.
-
-
-
Method Detail
-
builder
@NotNull static @NotNull SourceCodeManagement.Builder builder()
Create a new builder forSourceCodeManagementinstances.- Returns:
- a new builder
- Since:
- 2.0.0
-
connection
@NotNull @NotNull String connection()
Get a read-only access to the project's repository.This must be in a
scm:[provider]:[provider-specific arguments]format.- Returns:
- the read-only project repository
- Since:
- 2.0.0
-
developerConnection
@NotNull @NotNull String developerConnection()
Get a read-write access to the project's repository.This must be in a
scm:[provider]:[provider-specific arguments]format.- Returns:
- the read-write project repository
- Since:
- 2.0.0
-
url
@NotNull @NotNull String url()
Get a web URL to view this project's repository.- Returns:
- the project's SCM web URL
- Since:
- 2.0.0
-
-