com.atlassian.jira.rest.api.util
Class AttachmentHelper.ValidationResult
java.lang.Object
com.atlassian.jira.rest.api.util.AttachmentHelper.ValidationResult
- Enclosing class:
- AttachmentHelper
public static class AttachmentHelper.ValidationResult
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentHelper.ValidationResult
public AttachmentHelper.ValidationResult(InputStream inputStream,
long size,
String contentType)
AttachmentHelper.ValidationResult
public AttachmentHelper.ValidationResult(AttachmentHelper.ValidationError errorType,
String errorMessage)
getSize
public long getSize()
getInputStream
public InputStream getInputStream()
getContentType
public String getContentType()
getErrorType
public AttachmentHelper.ValidationError getErrorType()
isValid
public boolean isValid()
getErrorMessage
public String getErrorMessage()
Copyright © 2002-2012 Atlassian. All Rights Reserved.