com.yahoo.imapnio.async.request.DeleteFolderCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of imapnio.core Show documentation
Show all versions of imapnio.core Show documentation
imapnio component ${project.name}
The newest version!
package com.yahoo.imapnio.async.request;
import javax.annotation.Nonnull;
/**
* This class defines imap delete command request from client.
*/
public class DeleteFolderCommand extends AbstractFolderActionCommand {
/** Literal DELETE. */
private static final String DELETE = "DELETE";
/**
* Initializes a {@link DeleteFolderCommand}.
*
* @param folderName folder name to delete
*/
public DeleteFolderCommand(@Nonnull final String folderName) {
super(DELETE, folderName);
}
@Override
public ImapRFCSupportedCommandType getCommandType() {
return ImapRFCSupportedCommandType.DELETE_FOLDER;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy