com.yahoo.imapnio.async.request.SelectFolderCommand 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;
import com.yahoo.imapnio.async.data.QResyncParameter;
/**
* This class defines imap select command request from client.
*/
public class SelectFolderCommand extends OpenFolderActionCommand {
/** Command name. */
private static final String SELECT = "SELECT";
/**
* Initializes a {@link SelectFolderCommand}.
*
* @param folderName folder name to select
*/
public SelectFolderCommand(@Nonnull final String folderName) {
super(SELECT, folderName);
}
/**
* Initializes a {@link SelectFolderCommand}.
*
* @param folderName folder name to select
* @param qResyncParameter qresync parameter
*/
public SelectFolderCommand(@Nonnull final String folderName, @Nonnull final QResyncParameter qResyncParameter) {
super(SELECT, folderName, qResyncParameter);
}
@Override
public ImapRFCSupportedCommandType getCommandType() {
return ImapRFCSupportedCommandType.SELECT_FOLDER;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy