blob: 51e7e4ede6d9a58036ca7188977c5adf8139977e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2020 RBEI and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v. 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Adhith Gopal - Initial API and Implementation
*******************************************************************************/
package org.eclipse.blockchain.core.events;
/**
* Environment changed event
*/
public class BlockchainEnvironmentChangedEvent
implements
IBlockchainEnvironmentChangedEvent {
private final String activeEnvironment;
/**
* @param activeEnv
*/
public BlockchainEnvironmentChangedEvent(final String activeEnv) {
this.activeEnvironment = activeEnv;
}
/**
* {@inheritDoc}
*/
@Override
public String getActiveEvironment() {
return this.activeEnvironment;
}
}