jetbrains.buildServer.serverSide.auth
Class AuthModule<T extends AuthModuleType>

java.lang.Object
  extended by jetbrains.buildServer.serverSide.auth.AuthModule<T>
All Implemented Interfaces:
java.lang.Cloneable

public class AuthModule<T extends AuthModuleType>
extends java.lang.Object
implements java.lang.Cloneable

Represents authentication module with its properties configured in config file.

Since:
8.0
See Also:
AuthModuleType

Constructor Summary
AuthModule(T type, java.util.Map<java.lang.String,java.lang.String> properties, int id)
           
 
Method Summary
 java.lang.Object clone()
           
 AuthModule<T> copy()
           
 boolean equals(java.lang.Object o)
           
 int getId()
           
 java.util.Map<java.lang.String,java.lang.String> getProperties()
           
 T getType()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthModule

public AuthModule(@NotNull
                  T type,
                  @NotNull
                  java.util.Map<java.lang.String,java.lang.String> properties,
                  int id)
Method Detail

getType

@NotNull
public T getType()

getProperties

@NotNull
public java.util.Map<java.lang.String,java.lang.String> getProperties()

getId

public int getId()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

copy

@NotNull
public AuthModule<T> copy()