Class BasicSSHUserPrivateKey.PrivateKeySource

java.lang.Object
hudson.model.AbstractDescribableImpl<BasicSSHUserPrivateKey.PrivateKeySource>
com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.PrivateKeySource
All Implemented Interfaces:
Describable<BasicSSHUserPrivateKey.PrivateKeySource>
Direct Known Subclasses:
BasicSSHUserPrivateKey.DirectEntryPrivateKeySource, BasicSSHUserPrivateKey.FileOnMasterPrivateKeySource, BasicSSHUserPrivateKey.UsersPrivateKeySource
Enclosing class:
BasicSSHUserPrivateKey

public abstract static class BasicSSHUserPrivateKey.PrivateKeySource extends AbstractDescribableImpl<BasicSSHUserPrivateKey.PrivateKeySource>
A source of private keys
  • Constructor Details

    • PrivateKeySource

      public PrivateKeySource()
  • Method Details

    • getPrivateKeys

      @NonNull public abstract List<String> getPrivateKeys()
      Gets the private key from the source
    • getPrivateKeysLastModified

      public long getPrivateKeysLastModified()
      Returns a revision count or a timestamp (in either case strictly increasing after changes to the private keys)
      Returns:
      a revision count or a timestamp.
      Since:
      1.4
    • isSnapshotSource

      @Deprecated public boolean isSnapshotSource()
      Deprecated.
      no more used since FileOnMaster- and Users- PrivateKeySource are deprecated too
      Returns true if and only if the source is self contained.
      Returns:
      true if and only if the source is self contained.
      Since:
      1.7