@ExperimentalApi public class AttachmentUpload extends Object
Constructor and Description |
---|
AttachmentUpload(File file,
String name,
String mediaType,
String comment,
boolean minorEdit) |
Modifier and Type | Method and Description |
---|---|
String |
getComment() |
File |
getFile() |
String |
getMediaType() |
String |
getName() |
boolean |
isMinorEdit() |
String |
toString() |
AttachmentUpload |
withName(String newName)
Create a new AttachmentUpload object from this one, changing the logical filename but keeping other fields.
|
public AttachmentUpload withName(String newName)
newName
- the new logical filename (i.e. the value for getName()
on the new object)public String getComment()
public String getMediaType()
public File getFile()
public String getName()
public boolean isMinorEdit()
Copyright © 2003–2016 Atlassian. All rights reserved.