public class MachineAuthDetails
extends java.lang.Object
| Constructor and Description |
|---|
MachineAuthDetails() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBytesWritten()
Gets the number of bytes written for the sentry file.
|
EResult |
geteResult()
Get the result of updating the machine auth.
|
java.lang.String |
getFileName()
Gets the filename of the sentry file that was written.
|
int |
getFileSize()
Gets the size of the sentry file.
|
JobID |
getJobID()
Gets the target Job ID for the request.
|
int |
getLastError()
Gets the last error that occurred while writing the sentry file, or 0 if no error occurred.
|
int |
getOffset()
Gets the offset within the sentry file that was written.
|
OTPDetails |
getOneTimePassword()
Gets the one-time-password details.
|
byte[] |
getSentryFileHash()
Gets the SHA-1 hash of the sentry file.
|
void |
setBytesWritten(int bytesWritten)
Sets the number of bytes written for the sentry file.
|
void |
seteResult(EResult eResult)
Set the result of updating the machine auth.
|
void |
setFileName(java.lang.String fileName)
Sets the filename of the sentry file that was written.
|
void |
setFileSize(int fileSize)
Sets the size of the sentry file.
|
void |
setJobID(JobID jobID)
Sets the target Job ID for the request.
|
void |
setLastError(int lastError)
Sets the last error that occurred while writing the sentry file, or 0 if no error occurred.
|
void |
setOffset(int offset)
Sets the offset within the sentry file that was written.
|
void |
setOneTimePassword(OTPDetails oneTimePassword)
Sets the one-time-password details.
|
void |
setSentryFileHash(byte[] sentryFileHash)
Sets the SHA-1 hash of the sentry file.
|
public JobID getJobID()
Callback for a UpdateMachineAuthCallback.public void setJobID(JobID jobID)
Callback for a UpdateMachineAuthCallback.jobID - the jobID.public EResult geteResult()
EResultpublic void seteResult(EResult eResult)
eResult - the result as EResultpublic int getBytesWritten()
public void setBytesWritten(int bytesWritten)
bytesWritten - the number of bytes written.public int getOffset()
public void setOffset(int offset)
offset - the offset.public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName - the name of the sentry file.public int getFileSize()
public void setFileSize(int fileSize)
fileSize - the size of the sentry file.public int getLastError()
public void setLastError(int lastError)
lastError - the last error.public byte[] getSentryFileHash()
public void setSentryFileHash(byte[] sentryFileHash)
sentryFileHash - the sentry file hash.public OTPDetails getOneTimePassword()
public void setOneTimePassword(OTPDetails oneTimePassword)
oneTimePassword - the one time password details.