Package net.kyori.indra.api.model
Interface SourceCodeManagement
@Immutable
public interface SourceCodeManagement
SCM metadata information.
- Since:
- 2.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA builder forSourceCodeManagementinstances. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull SourceCodeManagement.Builderbuilder()Create a new builder forSourceCodeManagementinstances.@NotNull StringGet a read-only access to the project's repository.@NotNull StringGet a read-write access to the project's repository.@NotNull Stringurl()Get a web URL to view this project's repository.
-
Method Details
-
builder
Create a new builder forSourceCodeManagementinstances.- Returns:
- a new builder
- Since:
- 2.0.0
-
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
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
Get a web URL to view this project's repository.- Returns:
- the project's SCM web URL
- Since:
- 2.0.0
-