src/main/java/org/embulk/output/sftp/ProxyTask.java in embulk-output-sftp-0.2.1 vs src/main/java/org/embulk/output/sftp/ProxyTask.java in embulk-output-sftp-0.2.2
- old
+ new
@@ -1,44 +1,44 @@
package org.embulk.output.sftp;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
-import com.google.common.base.Optional;
import org.apache.commons.vfs2.FileSystemOptions;
import org.apache.commons.vfs2.provider.sftp.SftpFileSystemConfigBuilder;
import org.embulk.config.Config;
import org.embulk.config.ConfigDefault;
import org.embulk.config.ConfigException;
import org.embulk.config.Task;
import java.util.Locale;
+import java.util.Optional;
interface ProxyTask
extends Task
{
@Config("type")
- public ProxyType getType();
+ ProxyType getType();
@Config("host")
- public Optional<String> getHost();
+ Optional<String> getHost();
@Config("user")
@ConfigDefault("null")
- public Optional<String> getUser();
+ Optional<String> getUser();
@Config("password")
@ConfigDefault("null")
- public Optional<String> getPassword();
+ Optional<String> getPassword();
@Config("port")
@ConfigDefault("22")
- public int getPort();
+ int getPort();
@Config("command")
@ConfigDefault("null")
- public Optional<String> getCommand();
+ Optional<String> getCommand();
- public enum ProxyType
+ enum ProxyType
{
HTTP,
SOCKS,
STREAM;