Class NoneAuth
java.lang.Object
hudson.model.AbstractDescribableImpl<Auth2>
io.jenkins.plugins.remote.result.trigger.auth2.Auth2
io.jenkins.plugins.remote.result.trigger.auth2.NoneAuth
- All Implemented Interfaces:
Describable<Auth2>
,Serializable
,Cloneable
- Author:
- HW
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.jenkins.plugins.remote.result.trigger.auth2.Auth2
Auth2.Auth2Descriptor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getCredentials
(Item item) Get JenkinsClient Credentials Or ApiTokenint
hashCode()
toString()
Returns a string representing the authorization.
-
Field Details
-
DESCRIPTOR
-
INSTANCE
-
-
Constructor Details
-
NoneAuth
@DataBoundConstructor public NoneAuth()
-
-
Method Details
-
getCredentials
Get JenkinsClient Credentials Or ApiToken- Specified by:
getCredentials
in classAuth2
- Throws:
CredentialsNotFoundException
-
toString
-
toString
Description copied from class:Auth2
Returns a string representing the authorization.- Specified by:
toString
in classAuth2
- Parameters:
item
- the Item (Job, Pipeline,...) we are currently running in. The item is required to also get Credentials which are defined in the items scope and not Jenkins globally. Value can be null, but Credentials e.g. configured on a Folder will not be found in this case, only globally configured Credentials.- Returns:
- a string representing the authorization.
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<Auth2>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<Auth2>
-
hashCode
public int hashCode() -
equals
-