# sprint-2 Deleted not needed class.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/0fb700fd Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0fb700fd Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0fb700fd Branch: refs/heads/ignite-497 Commit: 0fb700fdef9982d54fa21ff01c9a1ae4cf307a0f Parents: 3c21656 Author: AKuznetsov <akuznet...@gridgain.com> Authored: Thu Mar 26 17:50:30 2015 +0700 Committer: AKuznetsov <akuznet...@gridgain.com> Committed: Thu Mar 26 17:50:30 2015 +0700 ---------------------------------------------------------------------- .../event/VisorGridSecuritySessionEvent.java | 91 -------------------- 1 file changed, 91 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0fb700fd/modules/core/src/main/java/org/apache/ignite/internal/visor/event/VisorGridSecuritySessionEvent.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/event/VisorGridSecuritySessionEvent.java b/modules/core/src/main/java/org/apache/ignite/internal/visor/event/VisorGridSecuritySessionEvent.java deleted file mode 100644 index a0bcaab..0000000 --- a/modules/core/src/main/java/org/apache/ignite/internal/visor/event/VisorGridSecuritySessionEvent.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.ignite.internal.visor.event; - -import org.apache.ignite.internal.util.typedef.internal.*; -import org.apache.ignite.lang.*; -import org.apache.ignite.plugin.security.*; - -import java.util.*; - -/** - * Lightweight counterpart for {@link VisorGridSecuritySessionEvent}. - */ -public class VisorGridSecuritySessionEvent extends VisorGridEvent { - /** */ - private static final long serialVersionUID = 0L; - - /** Subject type. */ - private final GridSecuritySubjectType subjType; - - /** Subject ID. */ - private final UUID subjId; - - /** - * Create event with given parameters. - * - * @param typeId Event type. - * @param id Event id. - * @param name Event name. - * @param nid Event node ID. - * @param ts Event timestamp. - * @param msg Event message. - * @param shortDisplay Shortened version of {@code toString()} result. - * @param subjType Subject type. - * @param subjId Subject ID. - */ - public VisorGridSecuritySessionEvent( - int typeId, - IgniteUuid id, - String name, - UUID nid, - long ts, - String msg, - String shortDisplay, - GridSecuritySubjectType subjType, - UUID subjId - ) { - super(typeId, id, name, nid, ts, msg, shortDisplay); - - this.subjType = subjType; - this.subjId = subjId; - } - - /** - * Gets subject ID that triggered the event. - * - * @return Subject ID that triggered the event. - */ - public UUID subjId() { - return subjId; - } - - /** - * Gets subject type that triggered the event. - * - * @return Subject type that triggered the event. - */ - public GridSecuritySubjectType subjType() { - return subjType; - } - - /** {@inheritDoc} */ - @Override public String toString() { - return S.toString(VisorGridSecuritySessionEvent.class, this); - } -}