public class

DescriptorWeightAttributeParser

extends Object
java.lang.Object
   ↳ com.atlassian.applinks.core.plugin.DescriptorWeightAttributeParser

Class Overview

This class contains the logic for reading the weight value from a module descriptor's XML element.

Summary

Constants
int DEFAULT_WEIGHT
Public Constructors
DescriptorWeightAttributeParser()
Public Methods
static int getWeight(Element moduleDescriptorElement)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int DEFAULT_WEIGHT

Constant Value: 1000 (0x000003e8)

Public Constructors

public DescriptorWeightAttributeParser ()

Public Methods

public static int getWeight (Element moduleDescriptorElement)

Parameters
moduleDescriptorElement a module descriptor XML element.
Returns
  • the value of the weight attribute of the specified module descriptor element, or the system's default weight value if no weight was specified.