JobErrorSheet.ErrorSheetWhen.ErrorSheetWhenOption

Inheritance: java.lang.Object, com.aspose.xps.metadata.PrintTicketElement, com.aspose.xps.metadata.CompositePrintTicketElement, com.aspose.xps.metadata.Option

public static final class JobErrorSheet.ErrorSheetWhen.ErrorSheetWhenOption extends Option

Décrit les options de la fonctionnalité ErrorSheetWhen .

Champs

ChampDescription
AlwaysSpécifie qu’une feuille d’erreur sera générée pour chaque travail.
OnErrorSpécifie qu’une feuille d’erreur sera générée uniquement en cas d’erreur.

Méthodes

MéthodeDescription
add(IOptionItem[] items)Ajoute une liste d’éléments à la fin de la liste d’éléments de cette option.
equals(Object arg0)
getClass()
getName()Obtient le nom de l’élément.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Always

public static final JobErrorSheet.ErrorSheetWhen.ErrorSheetWhenOption Always

Spécifie qu’une feuille d’erreur sera générée pour chaque travail.

OnError

public static final JobErrorSheet.ErrorSheetWhen.ErrorSheetWhenOption OnError

Spécifie qu’une feuille d’erreur sera générée uniquement en cas d’erreur.

add(IOptionItem[] items)

public void add(IOptionItem[] items)

Ajoute une liste d’éléments à la fin de la liste d’éléments de cette option. Chaque élément doit être une instance de ScoredProperty ou de Property .

Parameters:

ParamètreTypeDescription
itemsIOptionItem[]Liste des éléments à ajouter.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParamètreTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName()

public String getName()

Obtient le nom de l’élément.

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParamètreTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParamètreTypeDescription
arg0long
arg1int