com.vmware.vim25.mo.samples.alarm.PrintAlarmManager.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vijava Show documentation
Show all versions of vijava Show documentation
Java API for accessing VMWare web services API
The newest version!
???? 2 3com/vmware/vim25/mo/samples/alarm/PrintAlarmManager java/lang/Object ()V Code
LineNumberTable LocalVariableTable this 5Lcom/vmware/vim25/mo/samples/alarm/PrintAlarmManager; main ([Ljava/lang/String;)V
Exceptions java/lang/Exception java/lang/System out Ljava/io/PrintStream; 9Usage: java PrintAlarmManager
java/io/PrintStream println (Ljava/lang/String;)V " #com/vmware/vim25/mo/ServiceInstance $ java/net/URL
# &
! ( ) 6(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;Z)V
! + , - getAlarmManager $()Lcom/vmware/vim25/mo/AlarmManager; / Alarm expressions:
1 3 2 com/vmware/vim25/mo/AlarmManager 4 5 getDefaultExpression %()[Lcom/vmware/vim25/AlarmExpression;
7 8 9 printAlarmExpressions &([Lcom/vmware/vim25/AlarmExpression;)V ;
Alarm descriptions:
1 = > ? getDescription %()Lcom/vmware/vim25/AlarmDescription;
A B C printAlarmDescription &(Lcom/vmware/vim25/AlarmDescription;)V
! E F G getServerConnection (()Lcom/vmware/vim25/mo/ServerConnection;
I K J $com/vmware/vim25/mo/ServerConnection L logout args [Ljava/lang/String; si %Lcom/vmware/vim25/mo/ServiceInstance; alarmMgr "Lcom/vmware/vim25/mo/AlarmManager; defaultExps #[Lcom/vmware/vim25/AlarmExpression; ad #Lcom/vmware/vim25/AlarmDescription;
StackMapTable Y Entity statuses:
[ ] \ !com/vmware/vim25/AlarmDescription ^ _ getEntityStatus (()[Lcom/vmware/vim25/ElementDescription;
a b c printElementDescriptions )([Lcom/vmware/vim25/ElementDescription;)V e
HostSystem connection states:
[ g h _ getHostSystemConnectionState j
Metric operators:
[ l m _ getMetricOperator o
State operators:
[ q r _ getStateOperator t
Virtual machine power states:
[ v w _ getVirtualMachinePowerState y
Action class descriptions:
[ { | } getAction %()[Lcom/vmware/vim25/TypeDescription;
? ? printTypeDescriptions &([Lcom/vmware/vim25/TypeDescription;)V ? /
Descriptions of expressioin type for triggers:
[ ? ? } getExpr ? java/lang/StringBuilder ?
Alarm expression #
? &
? ? ? ? append (I)Ljava/lang/StringBuilder;
? ? ? ? toString ()Ljava/lang/String; ? &com/vmware/vim25/MetricAlarmExpression ? metric:
? ? ? ? getMetric !()Lcom/vmware/vim25/PerfMetricId;
? ? ? com/vmware/vim25/PerfMetricId ? ? getCounterId ()I ? red:
? ? ? ? getRed ()Ljava/lang/Integer;
? ? ? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? type:
? ? ? ? getType
? ? ? ? -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? yellow:
? ? ? ? getYellow ? %com/vmware/vim25/StateAlarmExpression ? operator:
? ? ? ? getOperator '()Lcom/vmware/vim25/StateAlarmOperator;
? ? ? ? ?
statePath:
? ? ? ? getStatePath
? ?
? ? ? ? exps i I mae (Lcom/vmware/vim25/MetricAlarmExpression; sae 'Lcom/vmware/vim25/StateAlarmExpression;
? ? ? printTypeDescription %(Lcom/vmware/vim25/TypeDescription;)V tds #[Lcom/vmware/vim25/TypeDescription; ?
Key:
? ? ? com/vmware/vim25/TypeDescription ? ? getKey ? Label:
? ? ? ? getLabel ? Summary:
? ? ? ?
getSummary ? $com/vmware/vim25/ScheduledTaskDetail ?
Frequency:
? ? ? ? getFrequency td "Lcom/vmware/vim25/TypeDescription;
? ? ? printElementDescription ((Lcom/vmware/vim25/ElementDescription;)V eds &[Lcom/vmware/vim25/ElementDescription;
? ? ? #com/vmware/vim25/ElementDescription
? ?
? ? ed %Lcom/vmware/vim25/ElementDescription;
SourceFile PrintAlarmManager.java ! / *? ?
1
? Y*?? ? ? ?? !Y? #Y*2? %*2*2? 'L+? *M? .? ,? 0N-? 6? :? ,? <:? @+? D? H?
> 5 7 9 <