001/** 002 * 003 * Copyright 2016 Fernando Ramirez 004 * 005 * Licensed under the Apache License, Version 2.0 (the "License"); 006 * you may not use this file except in compliance with the License. 007 * You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 014 * See the License for the specific language governing permissions and 015 * limitations under the License. 016 */ 017package org.jivesoftware.smackx.muclight; 018 019import java.util.Map; 020 021/** 022 * MUC Light room configuration class. 023 * 024 * @author Fernando Ramirez 025 * 026 */ 027public class MUCLightRoomConfiguration { 028 029 private final String roomName; 030 private final String subject; 031 private final Map<String, String> customConfigs; 032 033 /** 034 * MUC Light room configuration model constructor. 035 * 036 * @param roomName TODO javadoc me please 037 * @param subject TODO javadoc me please 038 * @param customConfigs TODO javadoc me please 039 */ 040 public MUCLightRoomConfiguration(String roomName, String subject, Map<String, String> customConfigs) { 041 this.roomName = roomName; 042 this.subject = subject; 043 this.customConfigs = customConfigs; 044 } 045 046 /** 047 * Returns the room name. 048 * 049 * @return the name of the room. 050 */ 051 public String getRoomName() { 052 return roomName; 053 } 054 055 /** 056 * Returns the room subject. 057 * 058 * @return the subject of the room. 059 */ 060 public String getSubject() { 061 return subject; 062 } 063 064 /** 065 * Returns the room custom configurations. 066 * 067 * @return the custom configurations of the room. 068 */ 069 public Map<String, String> getCustomConfigs() { 070 return customConfigs; 071 } 072 073}