Skip to content

Instantly share code, notes, and snippets.

@onepointconsulting
Created April 24, 2022 13:32
Show Gist options
  • Save onepointconsulting/2a1ddfae9c009bd19f5f66c6a941b4f1 to your computer and use it in GitHub Desktop.
Save onepointconsulting/2a1ddfae9c009bd19f5f66c6a941b4f1 to your computer and use it in GitHub Desktop.
public class YAMLS3Connector extends BaseConnector {
@Override
public Browser createBrowser(BrowseContext browseContext) {
return new YAMLS3Browser(browseContext);
}
@Override
protected Operation createGetOperation(OperationContext context) {
return new GetOperation(new S3Connection<ConnectorContext>(context));
}
@Override
protected Operation createExecuteOperation(OperationContext context) {
return new ExecuteOperation(new S3Connection<>(context));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment