org.hyperic.sigar.pager.SortAttribute Maven / Gradle / Ivy
/*
* Copyright (c) 2006 Hyperic, Inc.
*
* Licensed 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.hyperic.sigar.pager;
import java.io.Serializable;
public class SortAttribute implements Serializable {
private SortAttribute () {}
public static final int DEFAULT = 0;
// Generic attributes
public static final int NAME = 1;
public static final int CTIME = 2;
// Authz sort attributes - specifieds which column to store on
// for example, for 'subject_name', sort on column #3
public static final int ROLE_NAME = 1;
public static final int RESGROUP_NAME = 2;
public static final int RESTYPE_NAME = 4;
public static final int RESOURCE_NAME = 5;
public static final int OPERATION_NAME = 6;
public static final int ROLE_MEMBER_CNT= 17;
public static final int SUBJECT_NAME = 3;
public static final int FIRST_NAME = 7;
public static final int LAST_NAME = 8;
// Event sort attributes
public static final int EVENT_LOG_CTIME = 1;
// Control sort attributes
public static final int CONTROL_ACTION = 9;
public static final int CONTROL_STATUS = 10;
public static final int CONTROL_STARTED = 11;
public static final int CONTROL_ELAPSED = 12;
public static final int CONTROL_DATESCHEDULED = 13;
public static final int CONTROL_DESCRIPTION = 14;
public static final int CONTROL_NEXTFIRE = 15;
public static final int CONTROL_ENTITYNAME = 16;
public static final int OWNER_NAME = 21;
public static final int SERVICE_NAME = 22;
public static final int SERVICE_TYPE = 23;
public static final int RT_NAME = 24;
public static final int RT_LOW = 25;
public static final int RT_AVG = 26;
public static final int RT_PEAK = 27;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy