1 package org.jivesoftware.messenger.component; 2 3 11 public class ExternalComponentConfiguration { 12 13 private String subdomain; 14 15 private Permission permission; 16 17 private String secret; 18 19 public ExternalComponentConfiguration(String subdomain) { 20 this.subdomain = subdomain; 21 } 22 23 public String getSubdomain() { 24 return subdomain; 25 } 26 27 public Permission getPermission() { 28 return permission; 29 } 30 31 public void setPermission(Permission permission) { 32 this.permission = permission; 33 } 34 35 public String getSecret() { 36 return secret; 37 } 38 39 public void setSecret(String secret) { 40 this.secret = secret; 41 } 42 43 public enum Permission { 44 47 allowed, 48 49 52 blocked; 53 } 54 } 55 | Popular Tags |