Prepare release.
This commit is contained in:
parent
659463b3b4
commit
65a5cfd286
39 changed files with 500 additions and 132 deletions
|
|
@ -0,0 +1,48 @@
|
|||
/*
|
||||
* VM-Operator
|
||||
* Copyright (C) 2024 Michael N. Lipp
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package org.jdrupes.vmoperator.manager.events;
|
||||
|
||||
import org.jgrapes.core.Event;
|
||||
|
||||
/**
|
||||
* Triggers a reset of the VM.
|
||||
*/
|
||||
@SuppressWarnings("PMD.DataClass")
|
||||
public class ResetVm extends Event<String> {
|
||||
|
||||
private final String vmName;
|
||||
|
||||
/**
|
||||
* Instantiates a new event.
|
||||
*
|
||||
* @param vmName the vm name
|
||||
*/
|
||||
public ResetVm(String vmName) {
|
||||
this.vmName = vmName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the vm name.
|
||||
*
|
||||
* @return the vm name
|
||||
*/
|
||||
public String vmName() {
|
||||
return vmName;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue