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 @NonNull SourceCodeManagement.Builderbuilder()Create a new builder forSourceCodeManagementinstances.@NonNull Stringconnection()Get a read-only access to the project's repository.@NonNull StringdeveloperConnection()Get a read-write access to the project's repository.@NonNull Stringurl()Get a web URL to view this project's repository.
-
-
-
Method Detail
-
builder
static @NonNull SourceCodeManagement.Builder builder()
Create a new builder forSourceCodeManagementinstances.- Returns:
- a new builder
- Since:
- 2.0.0
-
connection
@NonNull 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
@NonNull 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
@NonNull String url()
Get a web URL to view this project's repository.- Returns:
- the project's SCM web URL
- Since:
- 2.0.0
-
-