Add callback for delete operation.
[cyberduck.git] / source / ch / cyberduck / core / openstack / SwiftProtocol.java
blob328c252102eb8b2efe5ef0ae806e5e9a8f8bd6c8
1 package ch.cyberduck.core.openstack;
3 /*
4 * Copyright (c) 2013 David Kocher. All rights reserved.
5 * http://cyberduck.ch/
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * Bug fixes, suggestions and comments should be sent to:
18 * feedback@cyberduck.ch
21 import ch.cyberduck.core.AbstractProtocol;
22 import ch.cyberduck.core.LocaleFactory;
23 import ch.cyberduck.core.Scheme;
25 /**
26 * @version $Id$
28 public class SwiftProtocol extends AbstractProtocol {
29 @Override
30 public String getName() {
31 return LocaleFactory.localizedString("Swift", "Mosso");
34 @Override
35 public String getDescription() {
36 return LocaleFactory.localizedString("Swift (OpenStack Object Storage)", "Mosso");
39 @Override
40 public String getIdentifier() {
41 return "swift";
44 @Override
45 public Scheme getScheme() {
46 return Scheme.https;
49 @Override
50 public String[] getSchemes() {
51 return new String[]{this.getScheme().name(), "swift", "cf"};
54 @Override
55 public boolean isHostnameConfigurable() {
56 return true;
59 @Override
60 public boolean isAnonymousConfigurable() {
61 return false;
64 @Override
65 public String getUsernamePlaceholder() {
66 return "Tenant ID:Access Key";
69 @Override
70 public String getPasswordPlaceholder() {
71 return "Secret Key";