Class AccessInferredOwner
java.lang.Object
hudson.model.AbstractDescribableImpl<RepositoryAccessStrategy>
org.jenkinsci.plugins.github_branch_source.app_credentials.RepositoryAccessStrategy
org.jenkinsci.plugins.github_branch_source.app_credentials.AccessInferredOwner
- All Implemented Interfaces:
Describable<RepositoryAccessStrategy>,Serializable
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.jenkinsci.plugins.github_branch_source.app_credentials.RepositoryAccessStrategy
RepositoryAccessStrategy.RepositoryAccessStrategyDescriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforContext(GitHubAppUsageContext context) Get theAccessibleRepositoriesto use when generating installation access tokens for the inferred contextual owner and repository.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
AccessInferredOwner
@DataBoundConstructor public AccessInferredOwner()
-
-
Method Details
-
forContext
Description copied from class:RepositoryAccessStrategyGet theAccessibleRepositoriesto use when generating installation access tokens for the inferred contextual owner and repository.Called when the credential is used in a context where an owner and repository can be inferred.
- Specified by:
forContextin classRepositoryAccessStrategy- Returns:
nullif the accessible repositories are unknown, or if no repositories are accessible in the specified context
-