routingrule.java

来自「openfire 服务器源码下载」· Java 代码 · 共 55 行

JAVA
55
字号
/** * $Revision$ * $Date$ * * Copyright (C) 1999-2008 Jive Software. All rights reserved. *  * This software is published under the terms of the GNU Public License (GPL), * a copy of which is included in this distribution, or a commercial license * agreement with Jive. */package org.jivesoftware.xmpp.workgroup.routing;/** * Defines a routing rule. * * @author Derek DeMoro */public class RoutingRule {    private long queueID;    private String query;    private int position;    public RoutingRule(long queueID, int position, String query){        this.queueID = queueID;        this.position = position;        this.query = query;    }    public long getQueueID() {        return queueID;    }    public void setQueueID(long queueID) {        this.queueID = queueID;    }    public String getQuery() {        return query;    }    public void setQuery(String query) {        this.query = query;    }    public int getPosition() {        return position;    }    public void setPosition(int position) {        this.position = position;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?