Class Identity


  • public class Identity
    extends Object
    This object is a Git identity value holder independent from the underlying Git implementation.
    • Constructor Detail

      • Identity

        public Identity​(String name,
                        String email)
        Constructor.
        Parameters:
        name - the name. Cannot be null
        email - the email. May be null
    • Method Detail

      • getEmail

        public String getEmail()
        Returns the email.
        Returns:
        the email. May be null.
      • getName

        public String getName()
        Returns the name.
        Returns:
        the name. Never null.